@eeacms/volto-cca-policy 0.1.63 → 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 CHANGED
@@ -4,11 +4,19 @@ 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.63](https://github.com/eea/volto-cca-policy/compare/0.1.62...0.1.63) - 23 January 2024
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)]
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
- - Cleanup facets in cca search [Tiberiu Ichim - [`74aa852`](https://github.com/eea/volto-cca-policy/commit/74aa85235304d395a8651a7317d66a3d2994d383)]
17
+ - Update menu for translated search menu (fix show children) [Ghiță Bizău - [`b151b96`](https://github.com/eea/volto-cca-policy/commit/b151b96cb0dfcfc6ab9354e73260691c6378d65a)]
18
+ ### [0.1.63](https://github.com/eea/volto-cca-policy/compare/0.1.62...0.1.63) - 23 January 2024
19
+
12
20
  ### [0.1.62](https://github.com/eea/volto-cca-policy/compare/0.1.61...0.1.62) - 22 January 2024
13
21
 
14
22
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.1.63",
3
+ "version": "0.1.65",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -33,6 +33,7 @@
33
33
  "@eeacms/volto-eea-website-theme": "*",
34
34
  "@eeacms/volto-globalsearch": "*",
35
35
  "@eeacms/volto-openlayers-map": "*",
36
+ "@eeacms/volto-searchlib": "*",
36
37
  "@eeacms/volto-slate-label": "*",
37
38
  "@eeacms/volto-widget-dataprovenance": "*",
38
39
  "@eeacms/volto-widget-geolocation": "*",
package/src/index.js CHANGED
@@ -284,9 +284,39 @@ const applyConfig = (config) => {
284
284
  '/en/eu-policy': {
285
285
  hideChildrenFromNavigation: false,
286
286
  },
287
+ '/de/eu-policy': {
288
+ hideChildrenFromNavigation: false,
289
+ },
290
+ '/fr/eu-policy': {
291
+ hideChildrenFromNavigation: false,
292
+ },
293
+ '/es/eu-policy': {
294
+ hideChildrenFromNavigation: false,
295
+ },
296
+ '/it/eu-policy': {
297
+ hideChildrenFromNavigation: false,
298
+ },
299
+ '/pl/eu-policy': {
300
+ hideChildrenFromNavigation: false,
301
+ },
287
302
  '/en/knowledge-1': {
288
303
  hideChildrenFromNavigation: false,
289
304
  },
305
+ '/de/knowledge-1': {
306
+ hideChildrenFromNavigation: false,
307
+ },
308
+ '/fr/knowledge-1': {
309
+ hideChildrenFromNavigation: false,
310
+ },
311
+ '/es/knowledge-1': {
312
+ hideChildrenFromNavigation: false,
313
+ },
314
+ '/it/knowledge-1': {
315
+ hideChildrenFromNavigation: false,
316
+ },
317
+ '/pl/knowledge-1': {
318
+ hideChildrenFromNavigation: false,
319
+ },
290
320
  };
291
321
 
292
322
  // Custom results
@@ -41,17 +41,17 @@ const include_archived = booleanFacet(() => ({
41
41
  on: null,
42
42
  }));
43
43
 
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
- };
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,