osl-base-extended 1.1.50 → 1.1.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2654,13 +2654,13 @@ class OslSetup {
2654
2654
  this.gridRef.pageSize = state.pageSize;
2655
2655
  this.gridRef.setRestorePage(state.page);
2656
2656
  }
2657
- if (this.searchbar) {
2657
+ if (this.searchbar && state.searchValue) {
2658
+ this._isRestoring = true;
2658
2659
  this.searchbar.searchControl.setValue(state.searchValue, { emitEvent: false });
2659
2660
  }
2660
2661
  // Trigger the same code path as a real search so the parent re-fetches with the correct
2661
2662
  // page + searchValue in a single unified event — no new events, no application changes needed.
2662
2663
  if (state.searchValue) {
2663
- this._isRestoring = true;
2664
2664
  this.onSearchSetup(state.searchValue);
2665
2665
  }
2666
2666
  else {