mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
when only sort field changed, we don't need to update ordinals
This commit is contained in:
parent
3d0ddc8539
commit
455d609109
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ impl Collection {
|
|||
note.prepare_for_update(nt, normalize_text)?;
|
||||
self.storage.update_note(¬e)?;
|
||||
}
|
||||
return Ok(());
|
||||
} else {
|
||||
// nothing to do
|
||||
return Ok(());
|
||||
|
|
Loading…
Reference in a new issue