Fix relative overdueness order error in filtered deck

https://forums.ankiweb.net/t/anki-23-12-beta/37771/21
This commit is contained in:
Damien Elmes 2023-12-01 14:54:33 +10:00
parent b29dc99b3e
commit 75febab401

View File

@ -27,7 +27,7 @@ pub(crate) fn order_and_limit_for_search(
}
FilteredSearchOrder::DuePriority => {
temp_string = if fsrs {
format!("extract_fsrs_relative_overdueness(data, due, {today}, ivl) desc")
format!("extract_fsrs_relative_overdueness(c.data, due, {today}, ivl) desc")
} else {
format!(
"