LibraryRequest page filed setted to 1 in selectable_update func
@@ -172,10 +172,7 @@ fn selectable_update<F: LibraryFilter>(
.as_ref()
.map(|selected| selected.request.sort.to_owned())
.unwrap_or_default(),
- page: selected
- .as_ref()
- .map(|selected| selected.request.page.to_owned())
- .unwrap_or(1),
+ page: 1,
},
selected: selected
.as_ref()
@@ -208,10 +205,7 @@ fn selectable_update<F: LibraryFilter>(
.as_ref()
.and_then(|selected| selected.request.r#type.to_owned()),
sort: sort.to_owned(),
- page: selected
- .as_ref()
- .map(|selected| selected.request.page.to_owned())
- .unwrap_or(1),
+ page: 1,
},
selected: selected
.as_ref()
