@salesforcedevs/dx-components 0.10.1-alpha.134 → 0.10.1-alpha.135

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "0.10.1-alpha.134",
3
+ "version": "0.10.1-alpha.135",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -46,6 +46,7 @@ export default class SidebarSearch extends LightningElement {
46
46
  ) {
47
47
  // set adnvanced filters needs access to the latest coveoAdvancedQueryConfig
48
48
  this.setAdvancedFilters(this.engine);
49
+ this.submitSearch();
49
50
  }
50
51
 
51
52
  this._coveoAdvancedQueryConfigValue = value;
@@ -253,7 +254,7 @@ export default class SidebarSearch extends LightningElement {
253
254
  };
254
255
 
255
256
  private setAdvancedFilters(engine: SearchEngine) {
256
- console.log('setting advanced filters')
257
+ console.log("setting advanced filters");
257
258
  const aq = Object.entries(this.coveoAdvancedQueryConfig).reduce(
258
259
  (result, [key, value]) =>
259
260
  `${result}(@${key}=="${normalizeCoveoAdvancedQueryValue(
@@ -364,6 +365,7 @@ export default class SidebarSearch extends LightningElement {
364
365
 
365
366
  private onClickRecentSearch(e: CustomEvent) {
366
367
  this.value = e.detail;
368
+ this.dispatchSidebarSearchChange(this.value);
367
369
  this.submitSearch();
368
370
  }
369
371