mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix incorrect search results after preset used
https://forums.ankiweb.net/t/anki-24-04-beta-rc/41792/129
This commit is contained in:
parent
99524848b1
commit
c1877f9df6
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ impl SqlWriter<'_> {
|
|||
}
|
||||
});
|
||||
ids_to_string(&mut str_ids, deck_ids);
|
||||
write!(self.sql, "c.did in {str_ids} or c.odid in {str_ids}").unwrap();
|
||||
write!(self.sql, "(c.did in {str_ids} or c.odid in {str_ids})").unwrap();
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue