Adjust search syntax for filtered deck presets
This commit is contained in:
parent
9edac805ad
commit
c1066167fa
@ -223,14 +223,14 @@ impl Collection {
|
|||||||
.search_terms
|
.search_terms
|
||||||
.get_mut(0)
|
.get_mut(0)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
term1.search = format!(r#"{} AND "is:due""#, search);
|
term1.search = format!("{} is:due", search);
|
||||||
let term2 = deck
|
let term2 = deck
|
||||||
.filtered_mut()
|
.filtered_mut()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.search_terms
|
.search_terms
|
||||||
.get_mut(1)
|
.get_mut(1)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
term2.search = format!(r#"{} AND "is:new""#, search);
|
term2.search = format!("{} is:new", search);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user