@eeacms/volto-cca-policy 0.1.64 → 0.1.65
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 +6 -1
- package/package.json +1 -1
- package/src/search/facets.js +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -4,12 +4,17 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [0.1.65](https://github.com/eea/volto-cca-policy/compare/0.1.64...0.1.65) - 24 January 2024
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- Comment code [Tiberiu Ichim - [`c9494d6`](https://github.com/eea/volto-cca-policy/commit/c9494d601166f427d4bb6bc3745af0e13192669f)]
|
|
12
|
+
- Fix facets for main search [Tiberiu Ichim - [`e7a44af`](https://github.com/eea/volto-cca-policy/commit/e7a44af57cf934de3818b2fdeabcdf996e6c85c6)]
|
|
7
13
|
### [0.1.64](https://github.com/eea/volto-cca-policy/compare/0.1.63...0.1.64) - 23 January 2024
|
|
8
14
|
|
|
9
15
|
#### :hammer_and_wrench: Others
|
|
10
16
|
|
|
11
17
|
- Update menu for translated search menu (fix show children) [Ghiță Bizău - [`b151b96`](https://github.com/eea/volto-cca-policy/commit/b151b96cb0dfcfc6ab9354e73260691c6378d65a)]
|
|
12
|
-
- Add dependency on volto-searchlib [Tiberiu Ichim - [`c2117c4`](https://github.com/eea/volto-cca-policy/commit/c2117c4b540572141a859c4f6aea95a65c347ba0)]
|
|
13
18
|
### [0.1.63](https://github.com/eea/volto-cca-policy/compare/0.1.62...0.1.63) - 23 January 2024
|
|
14
19
|
|
|
15
20
|
### [0.1.62](https://github.com/eea/volto-cca-policy/compare/0.1.61...0.1.62) - 22 January 2024
|
package/package.json
CHANGED
package/src/search/facets.js
CHANGED
|
@@ -41,17 +41,17 @@ const include_archived = booleanFacet(() => ({
|
|
|
41
41
|
on: null,
|
|
42
42
|
}));
|
|
43
43
|
|
|
44
|
-
const clusters = {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
};
|
|
44
|
+
// const clusters = {
|
|
45
|
+
// field: 'op_cluster',
|
|
46
|
+
// factory: 'MultiTermFacet',
|
|
47
|
+
// isFilterable: true,
|
|
48
|
+
// isMulti: true,
|
|
49
|
+
// label: 'Section',
|
|
50
|
+
// show: 10000,
|
|
51
|
+
// showInFacetsList: false,
|
|
52
|
+
// ignoreNLPWhenActive: true,
|
|
53
|
+
// blacklist: ['Others', 'Publications'],
|
|
54
|
+
// };
|
|
55
55
|
|
|
56
56
|
const objectProvides = {
|
|
57
57
|
field: 'objectProvides',
|
|
@@ -129,8 +129,8 @@ const climate_impacts = {
|
|
|
129
129
|
isFilterable: false,
|
|
130
130
|
show: 10000,
|
|
131
131
|
isMulti: true,
|
|
132
|
-
sortOn: 'custom',
|
|
133
|
-
sortOnCustomLabel: 'Alphabetical',
|
|
132
|
+
// sortOn: 'custom',
|
|
133
|
+
// sortOnCustomLabel: 'Alphabetical',
|
|
134
134
|
alwaysVisible: true,
|
|
135
135
|
};
|
|
136
136
|
|
|
@@ -143,8 +143,8 @@ const transnational_regions = {
|
|
|
143
143
|
isFilterable: false,
|
|
144
144
|
show: 10000,
|
|
145
145
|
isMulti: true,
|
|
146
|
-
sortOn: 'custom',
|
|
147
|
-
sortOnCustomLabel: 'Alphabetical',
|
|
146
|
+
// sortOn: 'custom',
|
|
147
|
+
// sortOnCustomLabel: 'Alphabetical',
|
|
148
148
|
};
|
|
149
149
|
|
|
150
150
|
const adaptation_elements = {
|
|
@@ -156,8 +156,8 @@ const adaptation_elements = {
|
|
|
156
156
|
isFilterable: false,
|
|
157
157
|
show: 10000,
|
|
158
158
|
isMulti: true,
|
|
159
|
-
sortOn: 'custom',
|
|
160
|
-
sortOnCustomLabel: 'Alphabetical',
|
|
159
|
+
// sortOn: 'custom',
|
|
160
|
+
// sortOnCustomLabel: 'Alphabetical',
|
|
161
161
|
};
|
|
162
162
|
|
|
163
163
|
const key_type_measure = {
|
|
@@ -169,8 +169,8 @@ const key_type_measure = {
|
|
|
169
169
|
isFilterable: false,
|
|
170
170
|
show: 10000,
|
|
171
171
|
isMulti: true,
|
|
172
|
-
sortOn: 'custom',
|
|
173
|
-
sortOnCustomLabel: 'Alphabetical',
|
|
172
|
+
// sortOn: 'custom',
|
|
173
|
+
// sortOnCustomLabel: 'Alphabetical',
|
|
174
174
|
};
|
|
175
175
|
|
|
176
176
|
const funding_programme = {
|
|
@@ -182,8 +182,8 @@ const funding_programme = {
|
|
|
182
182
|
isFilterable: false,
|
|
183
183
|
show: 10000,
|
|
184
184
|
isMulti: true,
|
|
185
|
-
sortOn: 'custom',
|
|
186
|
-
sortOnCustomLabel: 'Alphabetical',
|
|
185
|
+
// sortOn: 'custom',
|
|
186
|
+
// sortOnCustomLabel: 'Alphabetical',
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
const origin_websites = {
|
|
@@ -195,8 +195,8 @@ const origin_websites = {
|
|
|
195
195
|
isFilterable: false,
|
|
196
196
|
show: 10000,
|
|
197
197
|
isMulti: true,
|
|
198
|
-
sortOn: 'custom',
|
|
199
|
-
sortOnCustomLabel: 'Alphabetical',
|
|
198
|
+
// sortOn: 'custom',
|
|
199
|
+
// sortOnCustomLabel: 'Alphabetical',
|
|
200
200
|
};
|
|
201
201
|
|
|
202
202
|
const geographic_countries = {
|
|
@@ -208,8 +208,8 @@ const geographic_countries = {
|
|
|
208
208
|
isFilterable: false,
|
|
209
209
|
show: 10000,
|
|
210
210
|
isMulti: true,
|
|
211
|
-
sortOn: 'custom',
|
|
212
|
-
sortOnCustomLabel: 'Alphabetical',
|
|
211
|
+
// sortOn: 'custom',
|
|
212
|
+
// sortOnCustomLabel: 'Alphabetical',
|
|
213
213
|
};
|
|
214
214
|
|
|
215
215
|
const language = {
|
|
@@ -268,7 +268,7 @@ const language = {
|
|
|
268
268
|
const facets = [
|
|
269
269
|
adaptation_sectors,
|
|
270
270
|
include_archived,
|
|
271
|
-
clusters,
|
|
271
|
+
// clusters,
|
|
272
272
|
objectProvides,
|
|
273
273
|
issued,
|
|
274
274
|
climate_impacts,
|