From cf86d54a7f09972f62f5747f034e6815cb202c11 Mon Sep 17 00:00:00 2001 From: R-Sourabh Date: Tue, 16 Apr 2024 10:57:23 +0530 Subject: [PATCH] Fixed: infinite scroll issue when used with searchbar(#289) --- src/views/AssignPickerModal.vue | 1 + src/views/Catalog.vue | 1 + src/views/Orders.vue | 5 ++++- src/views/ShipToStoreOrders.vue | 4 +++- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/AssignPickerModal.vue b/src/views/AssignPickerModal.vue index 1ab49382b..9eaa5fc2e 100644 --- a/src/views/AssignPickerModal.vue +++ b/src/views/AssignPickerModal.vue @@ -29,6 +29,7 @@ @ionInfinite="loadMorePickers($event)" threshold="100px" :disabled="!isScrollable" + :key="queryString" > - + @@ -404,6 +406,7 @@ export default defineComponent({ } }, async searchOrders() { + console.log('serach', this.queryString); if(this.segmentSelected === 'open') { this.getPickupOrders() } else if(this.segmentSelected === 'packed') { diff --git a/src/views/ShipToStoreOrders.vue b/src/views/ShipToStoreOrders.vue index 21d9229ff..b8e8a79c5 100644 --- a/src/views/ShipToStoreOrders.vue +++ b/src/views/ShipToStoreOrders.vue @@ -90,7 +90,9 @@ - +