From 47c10941959d927c59fa2fe0f556d0f7b3978fce Mon Sep 17 00:00:00 2001 From: user1823 <92206575+user1823@users.noreply.github.com> Date: Tue, 22 Jul 2025 16:56:44 +0530 Subject: [PATCH] Add last_review_time to _to_backend_card (#4218) Presumably, without this change, add-ons would delete the value of last_review_time from the card when they modify the card. --- pylib/anki/cards.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pylib/anki/cards.py b/pylib/anki/cards.py index 854d4ed18..b8154510e 100644 --- a/pylib/anki/cards.py +++ b/pylib/anki/cards.py @@ -133,6 +133,7 @@ class Card(DeprecatedNamesMixin): memory_state=self.memory_state, desired_retention=self.desired_retention, decay=self.decay, + last_review_time_secs=self.last_review_time, ) @deprecated(info="please use col.update_card()")