From e2166b6f03af1417183ff0413fb7dcf7e5b28261 Mon Sep 17 00:00:00 2001 From: infinite-persistence <64950861+infinite-persistence@users.noreply.github.com> Date: Wed, 22 Jun 2022 20:04:22 +0800 Subject: [PATCH] Change collection item fetch-page from 5 to 50 (#1732) In `doResolveUri`, if the `uri` is a collection, it will attempt to fetch all items in the collection. Can't think of any special reason to keep the page-size small, and not seeing any notes in the commits either. It just ends up making several `claim_search` of 5's until all items are fetched. --- ui/redux/actions/claims.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/redux/actions/claims.js b/ui/redux/actions/claims.js index 6523af343..eda06f37b 100644 --- a/ui/redux/actions/claims.js +++ b/ui/redux/actions/claims.js @@ -135,7 +135,7 @@ export function doResolveUris( }); if (collectionIds.length) { - dispatch(doFetchItemsInCollections({ collectionIds: collectionIds, pageSize: 5 })); + dispatch(doFetchItemsInCollections({ collectionIds: collectionIds, pageSize: 50 })); } return result;