From c1066167fa1212cf92ed9a94d47dd8eba3f256ca Mon Sep 17 00:00:00 2001 From: RumovZ Date: Mon, 17 May 2021 12:14:02 +0200 Subject: [PATCH] Adjust search syntax for filtered deck presets --- rslib/src/scheduler/filtered/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rslib/src/scheduler/filtered/mod.rs b/rslib/src/scheduler/filtered/mod.rs index 307423c79..f467acb64 100644 --- a/rslib/src/scheduler/filtered/mod.rs +++ b/rslib/src/scheduler/filtered/mod.rs @@ -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); } }