[BUG] Descending/ascending retrievability sort orders become blank when disabling FSRS

Steps to reproduce

  1. Enable FSRS.
  2. Set the review sort order to ascending or descending retrievability.
  3. Disable FSRS.

Actual behavior

The sort order becomes blank. If you save, the next time you open the deck options, it’ll show a <br>.


Expected behavior

I don’t know, but even resetting the sort order to default is better than this.

Debug info

AnkiDroid Version = 2.26.0alpha16 (5a09689022440b1872558506c37ebd2b6f46e4b1)  
Backend Version = 0.1.77-anki26.09.4 (26.09.4 c06370ff4d87cb48d825f90cc83e02b9a4e84ecd)  
Android Version = 13 (SDK 33)  
ProductFlavor = full  
Device Info = Xiaomi | POCO | mondrian | mondrian_global | 23013PC75G | qcom  
WebView Info = [com.google.android.webview | 810305003]: Mozilla/5.0 (Linux; Android 13; 23013PC75G Build/TKQ1.220905.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/157.0.8103.50 Mobile Safari/537.36  
ACRA UUID = 4afc3b3f-e93f-4a66-bc71-2b9476ef9eb0  
FSRS = 6.6.2 (Enabled: true)  
Crash Reports Enabled = true  
Language = System: en-US | App: System language | Backend: en-US, en-US

Also tested on Anki 26.09.3.

2.26.0alpha16

I see alpha in your version info. However, I just tested and confirmed this on my own devices. Edit: I overlooked your note that you also tested on Anki 26.09.3.

Confirmed on:

  1. An Android running AnkiDroid version 2.25.3 Oct 17, 2026 (anki 26.05 / e64c6b1a).
  2. A Linux PC running 26.09.4 (c06370ff), which admittedly is a Python wheels version I had to build to get around a separate issue happening again (Fcitx5). But <br> is happening all the same.

I selected a deck with ascending retrievability, turned FSRS off, and saved. I also see <br>. Selecting another deck as the active deck and then going back to the one I had selected doesn’t change the situation. The other decks that used an asc/desc retrievability setting are also showing <br> as their review sort order.