Deck search should use not search the space symbol
On desktops if you search in the list of deck "foo bar" it shows all decks containing the infix foo and the infix bar. On ankidroid it only shows decks with infix "foo bar". I think we should imitate anki desktops and provide users more flexibility in search
Hi @Arthur-Milchior I’d like to work on this issue. Currently, deck search behavior differs between Anki Desktop and AnkiDroid. On desktop, searching for a query like “foo bar” returns decks that contain both infixes foo and bar independently, whereas AnkiDroid only matches decks containing the exact infix “foo bar”. This inconsistency can feel restrictive on mobile and may confuse users who expect the same search flexibility across platforms. Proposed approach: Align AnkiDroid’s deck search behavior with Anki Desktop Split the search query by whitespace Match decks that contain all query tokens (logical AND), regardless of order or adjacency Preserve the existing behavior for exact matches if required Benefits: Consistent user experience across Desktop and Android More flexible and intuitive deck searching No UI changes, purely search logic improvement I’m happy to investigate the existing search implementation, identify the relevant code paths, and propose a fix that matches desktop behavior as closely as possible. If this sounds good, please assign the issue to me.
Thanks!
@Radhika-Agrawal24
This sounds like a AI answer, far more data than needed. And as you could see, I already submitted a PR