increase max number of search results
This commit is contained in:
parent
c249c872da
commit
c89f48e769
@ -11,7 +11,9 @@ mod data;
|
|||||||
mod filter;
|
mod filter;
|
||||||
mod parser;
|
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(|| {
|
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")))
|
let mut cards = serde_json::from_reader::<_, CardInfo>(BufReader::new(File::open("cards.json").expect("cards.json not found")))
|
||||||
|
Loading…
Reference in New Issue
Block a user