@usereactify/search 4.4.3 → 4.4.4

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [4.4.4](https://bitbucket.org/usereactify/reactify-search-ui/compare/v4.4.3...v4.4.4) (2022-08-05)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * ignore curation in sensors if it's global curation ([5762c0d](https://bitbucket.org/usereactify/reactify-search-ui/commit/5762c0dc30f2d3eac1ebae71208cc93b190d706f))
11
+
5
12
  ### [4.4.3](https://bitbucket.org/usereactify/reactify-search-ui/compare/v4.4.2...v4.4.3) (2022-08-03)
6
13
 
7
14
 
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@usereactify/search",
3
3
  "description": "React UI library for Reactify Search",
4
- "version": "4.4.3",
4
+ "version": "4.4.4",
5
5
  "license": "MIT",
6
6
  "main": "dist/src/index.js",
7
7
  "types": "dist/src/index.d.ts",
@@ -14,7 +14,7 @@ const SensorCollection = () => {
14
14
  return null;
15
15
  }
16
16
  return (react_1.default.createElement(ReactiveComponent_1.default, { componentId: "SensorCollection", customQuery: () => {
17
- var _a, _b;
17
+ var _a, _b, _c;
18
18
  return ({
19
19
  query: {
20
20
  bool: {
@@ -33,7 +33,7 @@ const SensorCollection = () => {
33
33
  },
34
34
  ]
35
35
  : []),
36
- ...(((_b = context.curation) === null || _b === void 0 ? void 0 : _b.id)
36
+ ...(((_b = context.curation) === null || _b === void 0 ? void 0 : _b.id) && ((_c = context.curation) === null || _c === void 0 ? void 0 : _c.id) !== "global"
37
37
  ? [
38
38
  {
39
39
  nested: {
@@ -29,7 +29,7 @@ const SensorSearch = () => {
29
29
  const query = {
30
30
  bool: {
31
31
  should: [
32
- ...(((_a = context.curation) === null || _a === void 0 ? void 0 : _a.id)
32
+ ...(((_a = context.curation) === null || _a === void 0 ? void 0 : _a.id) && context.curation.id !== "global"
33
33
  ? [
34
34
  {
35
35
  nested: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@usereactify/search",
3
3
  "description": "React UI library for Reactify Search",
4
- "version": "4.4.3",
4
+ "version": "4.4.4",
5
5
  "license": "MIT",
6
6
  "main": "dist/src/index.js",
7
7
  "types": "dist/src/index.d.ts",