mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-30 19:54:16 -04:00
Fixing bug with null limit on a page
This commit is contained in:
parent
5b7740f2d9
commit
6575cb5ea6
@ -35,7 +35,7 @@ namespace Kyoo.Models
|
|||||||
Items = items;
|
Items = items;
|
||||||
This = url + query.ToQueryString();
|
This = url + query.ToQueryString();
|
||||||
|
|
||||||
if (items.Count == limit)
|
if (items.Count == limit && limit > 0)
|
||||||
{
|
{
|
||||||
query["afterID"] = items.Last().ID.ToString();
|
query["afterID"] = items.Last().ID.ToString();
|
||||||
Next = url + query.ToQueryString();
|
Next = url + query.ToQueryString();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user