mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
Adjust search syntax for filtered deck presets
This commit is contained in:
parent
9edac805ad
commit
c1066167fa
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue