increase max number of search results

This commit is contained in:
kageru 2023-02-10 09:49:11 +01:00
parent c249c872da
commit c89f48e769

View File

@ -11,7 +11,9 @@ mod data;
mod filter;
mod parser;
const RESULT_LIMIT: usize = 100;
// The yearly tins have ~250 cards in them.
// I want to be higher than that so the page is usable as a set list.
const RESULT_LIMIT: usize = 300;
static CARDS: LazyLock<Vec<Card>> = LazyLock::new(|| {
let mut cards = serde_json::from_reader::<_, CardInfo>(BufReader::new(File::open("cards.json").expect("cards.json not found")))