Skip to content

Commit bc70509

Browse files
committed
Fixed: passed argument while fetching items for sorting (#602)
1 parent 109942c commit bc70509

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/views/CountDetail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ let isScanningInProgress = ref(false);
297297
298298
onIonViewDidEnter(async() => {
299299
emitter.emit("presentLoader");
300-
await Promise.allSettled([await fetchCycleCount(), store.dispatch("count/fetchCycleCountItems", { inventoryCountImportId : props?.id, isSortingRequired: false })])
300+
await Promise.allSettled([await fetchCycleCount(), store.dispatch("count/fetchCycleCountItems", { inventoryCountImportId : props?.id, isSortingRequired: true })])
301301
selectedSegment.value = 'all';
302302
queryString.value = '';
303303
previousItem = itemsList.value[0]

src/views/HardCountDetail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ let isScanningInProgress = ref(false);
254254
255255
onIonViewDidEnter(async() => {
256256
emitter.emit("presentLoader");
257-
await Promise.allSettled([fetchCycleCount(), await store.dispatch("count/fetchCycleCountItems", { inventoryCountImportId : props?.id, isSortingRequired: true })])
257+
await Promise.allSettled([fetchCycleCount(), await store.dispatch("count/fetchCycleCountItems", { inventoryCountImportId : props?.id, isSortingRequired: false })])
258258
previousItem = itemsList.value[0];
259259
await store.dispatch("product/currentProduct", itemsList.value?.length ? itemsList.value[0] : {})
260260
barcodeInputRef.value?.$el?.setFocus();

0 commit comments

Comments
 (0)