mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Validate channel page size
This commit is contained in:
parent
9d62fb3c7f
commit
81488383b6
1 changed files with 10 additions and 6 deletions
|
@ -60,6 +60,10 @@
|
|||
|
||||
maxPageSize = features.MaxPageSize;
|
||||
|
||||
if (maxPageSize) {
|
||||
query.Limit = Math.min(maxPageSize, query.Limit || maxPageSize);
|
||||
}
|
||||
|
||||
updateSortOrders(page, features.DefaultSortFields);
|
||||
|
||||
reloadItems(page);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue