Fix preset: search ignoring cards in filtered decks (#2997)

This commit is contained in:
Abdo 2024-02-11 09:11:05 +03:00 committed by GitHub
parent 5f9e07ea7a
commit e136ec65e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -853,7 +853,7 @@ impl SqlWriter<'_> {
}
});
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(())
}
}