Files
anki/rslib
user1823 5865db4adf Fix: Recompute FSRS data after changing deck (#5339)
## Linked issue (required)

Fixes https://github.com/ankitects/anki/issues/5327

## Summary / motivation (required)

Moving cards between decks used to clear the old FSRS data, without
recomputing the new FSRS data. This led to some unwanted behavior like
absence of memory states in card info, inaccurate searching and sorting
in the browser, etc.

## Steps to reproduce (required, use N/A if not applicable)

1. Move some cards from one deck to another
2. The browser doesn't show any memory states.

## How to test (required)

<!--- How to test: how you verified the change (checks, unit tests,
manual steps, edge cases — the "after" or general validation). --->

### Checklist (minimum)

- [ ] I ran `./ninja check` or an equivalent relevant check locally.
- [ ] I added or updated tests when the change is non-trivial or
behavior changed.

### Details

<!-- Commands, manual steps, edge cases, and what you observed -->

## Before / after behavior (optional)

<!-- For bugfixes: behavior before vs after. For other types: N/A or a
short note. -->

## Risk / compatibility / migration (optional)

<!-- Breaking changes, rollout notes, or N/A for small / low-risk PRs
-->

## UI evidence (required for visual changes; otherwise N/A)

<!-- Screenshot or short video -->

## Scope

- [x] This PR is focused on one change (no unrelated edits).

---------

Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com>
Co-authored-by: Fernando Lins <1887601+fernandolins@users.noreply.github.com>
2026-08-20 14:51:23 -03:00
..
2025-09-01 14:55:49 +10:00
2025-06-27 16:10:12 +07:00
2020-11-01 14:26:58 +10:00
2023-07-02 18:22:44 +10:00
2022-11-27 15:24:20 +10:00
2025-06-29 11:50:49 +07:00

Anki's Rust code.