apply https://github.com/OdyseeTeam/odysee-frontend/pull/726 #7421

Merged
jessopb merged 1 commit from fix-kpsCollectionFix into master 2022-01-21 18:55:17 +01:00
Showing only changes of commit db74077e29 - Show all commits

View file

@ -161,8 +161,8 @@ export const doFetchItemsInCollections = (
for (let i = 0; i < Math.ceil(totalItems / batchSize); i++) {
batches[i] = Lbry.claim_search({
claim_ids: claim.value.claims,
page: i + 1,
claim_ids: claim.value.claims.slice(i * batchSize, (i + 1) * batchSize),
page: 1,
page_size: batchSize,
no_totals: true,
});