1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Correct limits on music artists controller

This commit is contained in:
MrTimscampi 2020-04-03 22:39:36 +02:00
parent 759090235c
commit 60b4004f1e

View file

@ -84,7 +84,7 @@ define(["layoutManager", "loading", "events", "libraryBrowser", "imageLoader", "
} }
if (userSettings.libraryPageSize() > 0) { if (userSettings.libraryPageSize() > 0) {
query.StartIndex += query.Limit; query.StartIndex = Math.max(0, query.StartIndex - query.Limit);
} }
reloadItems(tabContent); reloadItems(tabContent);
} }