AnKing-VIP / advanced-browser

Anki add-on with card browser enhancements.
GNU General Public License v3.0
58 stars 13 forks source link

add ability to search/filter cards by the additional columns the advanced browser adds #145

Open jamesdeluk opened 2 years ago

jamesdeluk commented 2 years ago

Is it possible to search/filter (e.g. for custom decks) based on these columns? For example, prop:percentage<80

ijgnd commented 2 years ago

As far as I understand the code this addon is only about displaying additional info about elements that are in the table and not about modifying search results themselves.

As far as I see you can only do this manually - sort the browser table, select the relevant cards and then make a filtered deck of this selection. I think you still need an add-on for this which should be Create Filtered Deck from the Browser. This add-on offers the function 'Filtered Deck with Selected Cards'.

jamesdeluk commented 2 years ago

I know there are workarounds (although I didn't know about that add-on, thanks!), but it would be great if this functionality could be added to this add-on. Do you think it's possible? Especially as % correct changes regularly, doing it manually will get tiresome.

ijgnd commented 2 years ago

The main problem is that very likely no one will implement this for you in this repo - virtually all commits to the AB repo over the last two years were only bug fixes and adjusments to anki changes.

searching is no longer handled by easily modifiable python code.

So far this add-on does not add custom search syntax. So maybe this add-on is not the best place for it? I would post in the official forum and suggest adding a new search feature to Anki itself. Several new search features were added over the last two years into anki (e.g. edited: ...) so this might be the more promising option.

jamesdeluk commented 2 years ago

Ah, I understand - thanks for explaining!