lucos_search_component 1.0.54 → 1.0.55

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/dist/index.js CHANGED
@@ -5813,9 +5813,9 @@ class LucosSearchComponent extends HTMLSpanElement {
5813
5813
  q: query,
5814
5814
  });
5815
5815
  if (component.getAttribute("data-types")) {
5816
- queryParams.set("filter_by",`type:[${component.getAttribute("data-types")}]`);
5816
+ queryParams.set("filter_by",`type:=[${component.getAttribute("data-types")}]`);
5817
5817
  } else if (component.getAttribute("data-exclude_types")) {
5818
- queryParams.set("filter_by",`type:![${component.getAttribute("data-exclude_types")}]`);
5818
+ queryParams.set("filter_by",`type:!=[${component.getAttribute("data-exclude_types")}]`);
5819
5819
  }
5820
5820
  try {
5821
5821
  let results = await component.searchRequest(queryParams, abortController.signal);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucos_search_component",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "description": "Web Components for searching lucOS data",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -170,9 +170,9 @@ class LucosSearchComponent extends HTMLSpanElement {
170
170
  q: query,
171
171
  });
172
172
  if (component.getAttribute("data-types")) {
173
- queryParams.set("filter_by",`type:[${component.getAttribute("data-types")}]`);
173
+ queryParams.set("filter_by",`type:=[${component.getAttribute("data-types")}]`);
174
174
  } else if (component.getAttribute("data-exclude_types")) {
175
- queryParams.set("filter_by",`type:![${component.getAttribute("data-exclude_types")}]`);
175
+ queryParams.set("filter_by",`type:!=[${component.getAttribute("data-exclude_types")}]`);
176
176
  }
177
177
  try {
178
178
  let results = await component.searchRequest(queryParams, abortController.signal);