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.
This commit is contained in:
user1823 2025-07-22 16:56:44 +05:30 committed by GitHub
parent 35a889e1ed
commit 47c1094195
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,6 +133,7 @@ class Card(DeprecatedNamesMixin):
memory_state=self.memory_state, memory_state=self.memory_state,
desired_retention=self.desired_retention, desired_retention=self.desired_retention,
decay=self.decay, decay=self.decay,
last_review_time_secs=self.last_review_time,
) )
@deprecated(info="please use col.update_card()") @deprecated(info="please use col.update_card()")