mirror of
https://github.com/YGGverse/rssto.git
synced 2026-03-31 09:05:29 +00:00
fix math priority with potential unsigned value issues
This commit is contained in:
parent
cc89dd6b9c
commit
843352bff2
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ fn index(
|
|||
global.provider_id,
|
||||
search,
|
||||
Sort::Desc,
|
||||
page.map(|p| p - 1 * global.list_limit),
|
||||
page.map(|p| if p > 1 { p - 1 } else { 1 } * global.list_limit),
|
||||
Some(global.list_limit)
|
||||
).map_err(|e| {
|
||||
error!("Could not get contents: `{e}`");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue