mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -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;
|
||||
This = url + query.ToQueryString();
|
||||
|
||||
if (items.Count == limit)
|
||||
if (items.Count == limit && limit > 0)
|
||||
{
|
||||
query["afterID"] = items.Last().ID.ToString();
|
||||
Next = url + query.ToQueryString();
|
||||
|
Loading…
x
Reference in New Issue
Block a user