Merge pull request #1169 from RumovZ/search-syntax

Adjust search syntax for filtered deck presets
This commit is contained in:
Damien Elmes 2021-05-17 22:44:26 +10:00 committed by GitHub
commit 10bfb95f1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,14 +223,14 @@ impl Collection {
.search_terms
.get_mut(0)
.unwrap();
term1.search = format!(r#"{} AND "is:due""#, search);
term1.search = format!("{} is:due", search);
let term2 = deck
.filtered_mut()
.unwrap()
.search_terms
.get_mut(1)
.unwrap();
term2.search = format!(r#"{} AND "is:new""#, search);
term2.search = format!("{} is:new", search);
}
}