Anki add-on: limit search results

Limit Search Results Limit Search Results is an Anki add-on that adds a custom search modifier: limit:x . It keeps only the requested number of matching cards or notes and prefers the results that are closest in queue order. What It Does adds limit:x to normal Anki search queries works with both card and note searches keeps results focused on items that are due sooner or closer in queue position also affects collection API calls that use matching search methods Examples deck:Spanish limit:10 tag:important is:new limit:25 note:Basic limit:5 Installation Install the add-on from AnkiWeb if a release is available, or install it manually from a packaged .ankiaddon file. Related Add-ons If you want a more polished and consistent look across my add-ons, you can also install my Global Styling add-on. It lets you apply a shared design on top of supported add-ons without changing their functionality. Links Technical details: ARCHITECTURE.md Main logic: addon.py Add-on entry point: __init__.py Manifest: manifest.json Config notes: config.md Release text: docs/release-description.md Packaging To package manually: zip -r limit-search-results.ankiaddon \ __init__.py \ addon.py \ manifest.json \ config.json \ config.md \ LICENSE

GitHub repository: moritzvitt/limit-search-results
Languages: Python