@dhis2/analytics 21.5.1 → 21.5.2

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
@@ -1,3 +1,10 @@
1
+ ## [21.5.2](https://github.com/dhis2/analytics/compare/v21.5.1...v21.5.2) (2022-04-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * filter on displayName to get objects in current language DHIS2-13015 ([#1196](https://github.com/dhis2/analytics/issues/1196)) ([40fbf0b](https://github.com/dhis2/analytics/commit/40fbf0b33e009617b6f407c904824d89b16fecf0))
7
+
1
8
  ## [21.5.1](https://github.com/dhis2/analytics/compare/v21.5.0...v21.5.1) (2022-01-27)
2
9
 
3
10
 
@@ -122,7 +122,7 @@ const OpenFileDialog = ({
122
122
  }
123
123
 
124
124
  if (filters.searchTerm) {
125
- queryFilters.push("name:ilike:".concat(filters.searchTerm));
125
+ queryFilters.push("displayName:ilike:".concat(filters.searchTerm));
126
126
  } // for ER 2.38 only show line list ER types
127
127
 
128
128
 
@@ -96,7 +96,7 @@ export const OpenFileDialog = ({
96
96
  }
97
97
 
98
98
  if (filters.searchTerm) {
99
- queryFilters.push("name:ilike:".concat(filters.searchTerm));
99
+ queryFilters.push("displayName:ilike:".concat(filters.searchTerm));
100
100
  } // for ER 2.38 only show line list ER types
101
101
 
102
102
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/analytics",
3
- "version": "21.5.1",
3
+ "version": "21.5.2",
4
4
  "main": "./build/cjs/index.js",
5
5
  "module": "./build/es/index.js",
6
6
  "exports": {