From a50b086b337ca4fcaeea8112418931638140b6bb Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 23 Nov 2023 17:50:42 +1000 Subject: [PATCH] Use note order when previewing https://forums.ankiweb.net/t/card-in-disorder/37534/2 --- rslib/src/scheduler/filtered/custom_study.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/rslib/src/scheduler/filtered/custom_study.rs b/rslib/src/scheduler/filtered/custom_study.rs index 4b8c16700..975439e5f 100644 --- a/rslib/src/scheduler/filtered/custom_study.rs +++ b/rslib/src/scheduler/filtered/custom_study.rs @@ -247,12 +247,7 @@ fn preview_config(deck_name: String, days: u32) -> FilteredDeck { .and_flat(SearchNode::AddedInDays(days)) .and_flat(SearchNode::from_deck_name(&deck_name)) .write(); - custom_study_config( - false, - search, - FilteredSearchOrder::OldestReviewedFirst, - None, - ) + custom_study_config(false, search, FilteredSearchOrder::Added, None) } fn cram_config(deck_name: String, cram: &Cram) -> Result {