From 25e1055b89a586ee7ddb088d845a4b65fdae480d Mon Sep 17 00:00:00 2001 From: Ren Tatsumoto Date: Sun, 25 Aug 2024 13:47:29 +0300 Subject: [PATCH] add sort option by deck id --- config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config.py b/config.py index b8fc5df..7799b77 100644 --- a/config.py +++ b/config.py @@ -46,6 +46,7 @@ class OrderingChoices: "Due": due_key, "Interval length": lambda card: card.ivl, "Card ID": lambda card: card.id, + "Deck ID": lambda card: card.did, "Sort Field": sort_field_key, "Sort Field (numeric)": generic_numeric_key(sort_field_key), "Custom field": custom_field_key,