buli
2023-06-05 cb95755fe8496d8af6d40b05c4bbd4b6df2e77ab
force-app/main/default/lwc/lexinventoryViewLWC/lexinventoryViewLWC.js
@@ -299,16 +299,6 @@
      });
   }
   handlePaginatorChange(event) {
      this.recordsToDisplay = event.detail.recordsToDisplay;
      this.preSelected = event.detail.preSelected;
      if (this.recordsToDisplay && this.recordsToDisplay > 0) {
         this.rowNumberOffset = this.recordsToDisplay[0].rowNumber - 1;
      } else {
         this.rowNumberOffset = 0;
      }
   }
   handleChange(event) {
      let fieldName = event.target.getAttribute("data-field");
      let value = event.detail.value;
@@ -452,7 +442,7 @@
      this[NavigationMixin.Navigate]({
         type: 'standard__webPage',
         attributes: {
            url: '/lexInventory'
            url: '/lexinventory'
         }
      });
   }
@@ -462,7 +452,7 @@
      this[NavigationMixin.Navigate]({
         type: 'standard__webPage',
         attributes: {
            url: '/lexoverdueStock'
            url: '/lexoverduestock'
         }
      });
@@ -480,7 +470,7 @@
      this[NavigationMixin.Navigate]({
         type: 'standard__webPage',
         attributes: {
            url: '/lexCancelRemoveBox'
            url: '/lexcancelremovebox'
         }
      });
@@ -587,6 +577,15 @@
      this.sortDirection = sortDirection;
      this.sortedBy = sortedBy;
   }
   handlePaginatorChange(event) {
      this.recordsToDisplay = event.detail.recordsToDisplay;
      this.preSelected = event.detail.preSelected;
      if (this.recordsToDisplay && this.recordsToDisplay > 0) {
         this.rowNumberOffset = this.recordsToDisplay[0].rowNumber - 1;
      } else {
         this.rowNumberOffset = 0;
      }
   }
   handlePrevious() {
      this.currentPageToken = Number(this.currentPageToken) - Number(this.pageSize);