mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
handle collections with sortBackwards set to 0 instead of a bool
This commit is contained in:
parent
9dda5cf6ca
commit
199713a39a
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ pub struct Config {
|
|||
pub(crate) local_offset: Option<i32>,
|
||||
#[serde(rename = "sortType", deserialize_with = "default_on_invalid")]
|
||||
pub(crate) browser_sort_kind: SortKind,
|
||||
#[serde(rename = "sortBackwards", default)]
|
||||
#[serde(rename = "sortBackwards", deserialize_with = "default_on_invalid")]
|
||||
pub(crate) browser_sort_reverse: bool,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue