Skip to content

Commit

Permalink
Improved: pageSize to fetch the cycle count items while downloading r…
Browse files Browse the repository at this point in the history
…eport (#616)
  • Loading branch information
amansinghbais committed Jan 24, 2025
1 parent 56780d6 commit 13881f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DownloadClosedCountModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ async function fetchBulkCycleCountItems() {
let items = [] as any, resp, index = 0;
try {
do {
resp = await CountService.fetchCycleCountItems({ inventoryCountImportId : count.inventoryCountImportId, pageSize: 200, pageIndex: index })
resp = await CountService.fetchCycleCountItems({ inventoryCountImportId : count.inventoryCountImportId, pageSize: 100, pageIndex: index })
if(!hasError(resp) && resp.data?.itemList?.length) {
items = items.concat(resp.data.itemList)
index++;
Expand Down

0 comments on commit 13881f7

Please sign in to comment.