Adjust search syntax for filtered deck presets

This commit is contained in:
RumovZ 2021-05-17 12:14:02 +02:00
parent 9edac805ad
commit c1066167fa

View File

@ -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);
} }
} }