@colijnit/catalog 12.1.8 → 12.1.9

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.
@@ -12,4 +12,5 @@ export declare class SettingsOptions {
12
12
  addArticleButtonText: string;
13
13
  collapseFilterByDefault: boolean;
14
14
  sortTurnoverGroupsByAlphabet: boolean;
15
+ searchOnStart: boolean;
15
16
  }
@@ -1136,6 +1136,7 @@
1136
1136
  this.addArticleButtonText = 'ADD';
1137
1137
  this.collapseFilterByDefault = false;
1138
1138
  this.sortTurnoverGroupsByAlphabet = true;
1139
+ this.searchOnStart = false;
1139
1140
  }
1140
1141
  return SettingsOptions;
1141
1142
  }());
@@ -1643,6 +1644,9 @@
1643
1644
  if (initialized) {
1644
1645
  this._controllerInitialized = true;
1645
1646
  this.ensureDataListsLoaded();
1647
+ if (this._settingsService.settings.options.searchOnStart) {
1648
+ this.searchArticles();
1649
+ }
1646
1650
  }
1647
1651
  return [2 /*return*/];
1648
1652
  });