mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix preset: search ignoring cards in filtered decks (#2997)
This commit is contained in:
parent
5f9e07ea7a
commit
e136ec65e9
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ impl SqlWriter<'_> {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
ids_to_string(&mut str_ids, deck_ids);
|
ids_to_string(&mut str_ids, deck_ids);
|
||||||
write!(self.sql, "c.did in {str_ids}").unwrap();
|
write!(self.sql, "c.did in {str_ids} or c.odid in {str_ids}").unwrap();
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue