ankitects / ankitects/anki

Display Order Bug with Review sort order Field

Open
#4,497 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
30.5k
Forks
3.2k
Avg merge
2d 7h
Merged PRs (30d)
66

Description

For deck settings > Display Order > Review Sort Order: If set to Random it sets "Review Sort Order Code: 8" in the anki database. Its code should be "Review Sort Order Code: 7".

Setting this programaticaly outside Anki to 7 displays "Ascending Retrievabillity" in the UI but it actually is Random order. Affects PC & Android. Likely the other mappings are wrong.

either the backend logic is using the wrong code or the frontend logic is using the wrong code, but they are out of sync

Contributor guide

Open the contributing guide

Research direction

Start by locating the backend and frontend mappings for Deck settings > Display Order > Review Sort Order, then compare the values used on PC and Android. Verify the other sort-order mappings as well; the work is done when the database code and displayed label agree for Random and the remaining options.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, rust
Domain
backend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.