@eeacms/volto-cca-policy 0.1.65 → 0.1.67

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,12 +4,33 @@ 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.67](https://github.com/eea/volto-cca-policy/compare/0.1.66...0.1.67) - 26 January 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Refs #263399 - Fix eslint errors. [GhitaB - [`71adad4`](https://github.com/eea/volto-cca-policy/commit/71adad443cacc47d548600a6c81c5a886dd8ecae)]
12
+ - Refs #263399 - Fix eslint errors. [GhitaB - [`a5259d9`](https://github.com/eea/volto-cca-policy/commit/a5259d92432e63e091aa3394ec9b944d628e948c)]
13
+ ### [0.1.66](https://github.com/eea/volto-cca-policy/compare/0.1.65...0.1.66) - 26 January 2024
14
+
15
+ #### :hammer_and_wrench: Others
16
+
17
+ - Revert "test: Update jest,Jenkinsfile,lint to volto-addons-template PR30". [GhitaB - [`692d7ad`](https://github.com/eea/volto-cca-policy/commit/692d7ad68da6bbb56598dac5e7a16b51d41fed16)]
18
+ - Improve code - fix duplicate common facets: objectProvides, language, issued_date. [GhitaB - [`a19ded5`](https://github.com/eea/volto-cca-policy/commit/a19ded5032d6542ccddfde3f276cc609bde1a35f)]
19
+ - test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`0ec53e4`](https://github.com/eea/volto-cca-policy/commit/0ec53e43f9bede8fc404897f30132a70d8288934)]
20
+ - Improve code - fix duplicate common facets: include_archived. [GhitaB - [`4936864`](https://github.com/eea/volto-cca-policy/commit/4936864997032fba0f69f7605aa5d66de25f363e)]
21
+ - Improve code - fix duplicate common facets: include_archived. [GhitaB - [`1685bab`](https://github.com/eea/volto-cca-policy/commit/1685bab113a231e08b8db2ca334fd8ac109f0e3c)]
22
+ - Improve code - fix duplicate /Blocks/withResponsiveContainer.js. [GhitaB - [`2790a8f`](https://github.com/eea/volto-cca-policy/commit/2790a8f79ddee64f3d333cc13c277b3acd25e45b)]
23
+ - Improve code /components/theme/Views/CaseStudyView.jsx. [GhitaB - [`4fc14e3`](https://github.com/eea/volto-cca-policy/commit/4fc14e32ee2c991a3650a9c67426e6f694c05f99)]
24
+ - Clean code in Blocks/TransRegionSelect/countries.js. [GhitaB - [`7f5a5c6`](https://github.com/eea/volto-cca-policy/commit/7f5a5c69b6cd7126ebe443ec2594b2bc832882d8)]
25
+ - Revert "test: Update jest,Jenkinsfile,lint to volto-addons-template PR30" [David Ichim - [`3cbb0f4`](https://github.com/eea/volto-cca-policy/commit/3cbb0f458e26c4274d96c009b59ad818ecd32e03)]
26
+ - Set main search as default [Tiberiu Ichim - [`379879b`](https://github.com/eea/volto-cca-policy/commit/379879b667289e0d470644b2a861a3d95330f705)]
27
+ - test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`e82fd72`](https://github.com/eea/volto-cca-policy/commit/e82fd72f0c11cb9d7ebcb2f37f27c29018df8f97)]
28
+ - Fix custom facet values in health observatory [Tiberiu Ichim - [`8f59ab9`](https://github.com/eea/volto-cca-policy/commit/8f59ab966193e2a93a5027fe305abd88ed64f934)]
7
29
  ### [0.1.65](https://github.com/eea/volto-cca-policy/compare/0.1.64...0.1.65) - 24 January 2024
8
30
 
9
31
  #### :hammer_and_wrench: Others
10
32
 
11
33
  - 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
34
  ### [0.1.64](https://github.com/eea/volto-cca-policy/compare/0.1.63...0.1.64) - 23 January 2024
14
35
 
15
36
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.1.65",
3
+ "version": "0.1.67",
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",
@@ -46,6 +46,7 @@
46
46
  "@plone/scripts": "*",
47
47
  "babel-plugin-transform-class-properties": "^6.24.1",
48
48
  "cypress-fail-fast": "^5.0.1",
49
+ "dotenv": "^16.3.2",
49
50
  "husky": "^8.0.3",
50
51
  "lint-staged": "^14.0.1",
51
52
  "md5": "^2.3.0"
@@ -5,7 +5,7 @@ import { injectLazyLibs } from '@plone/volto/helpers/Loadable/Loadable';
5
5
  import { Grid } from 'semantic-ui-react';
6
6
  import { compose } from 'redux';
7
7
  import { clientOnly } from '@eeacms/volto-cca-policy/helpers';
8
- import withResponsiveContainer from './withResponsiveContainer.js';
8
+ import withResponsiveContainer from './../withResponsiveContainer.js';
9
9
  import { addAppURL } from '@plone/volto/helpers';
10
10
  import {
11
11
  getFocusCountriesFeature,
@@ -4,7 +4,7 @@ import './styles.css';
4
4
  import { injectLazyLibs } from '@plone/volto/helpers/Loadable/Loadable';
5
5
  import { compose } from 'redux';
6
6
  import { clientOnly } from '@eeacms/volto-cca-policy/helpers';
7
- import withResponsiveContainer from './withResponsiveContainer.js';
7
+ import withResponsiveContainer from './../withResponsiveContainer.js';
8
8
  import {
9
9
  getFocusCountriesFeature,
10
10
  getFocusCountryNames,
@@ -5,7 +5,7 @@ import { injectLazyLibs } from '@plone/volto/helpers/Loadable/Loadable';
5
5
  import { Grid } from 'semantic-ui-react';
6
6
  import { compose } from 'redux';
7
7
  import { clientOnly } from '@eeacms/volto-cca-policy/helpers';
8
- import withResponsiveContainer from './withResponsiveContainer.js';
8
+ import withResponsiveContainer from './../withResponsiveContainer.js';
9
9
  import { addAppURL } from '@plone/volto/helpers';
10
10
  import {
11
11
  getFocusCountriesFeature,
@@ -31,7 +31,6 @@ export const regionCountries = [
31
31
  ['Finland', '/countries/finland'],
32
32
  ['Ireland', '/countries/ireland'],
33
33
  ['Sweden', '/countries/sweden'],
34
- // ['United Kingdom', '/countries/united-kingdom'],
35
34
  ['Iceland', '/countries/iceland'],
36
35
  ['Norway', '/countries/norway'],
37
36
  ['Greenland', ''],
@@ -45,19 +44,8 @@ export const regionCountries = [
45
44
  ['Ireland', '/countries/ireland'],
46
45
  ['Portugal', '/countries/portugal'],
47
46
  ['Spain', '/countries/spain'],
48
- // ['United Kingdom', '/countries/united-kingdom'],
49
47
  ],
50
48
  },
51
- // {
52
- // region: 'Balkan-Mediterranean',
53
- // countries: [
54
- // ['Bulgaria', '/countries/bulgaria'],
55
- // ['Cyprus', '/countries/cyprus'],
56
- // ['Greece', '/countries/greece'],
57
- // ['Albania', ''],
58
- // ['Republic of North Macedonia', ''],
59
- // ],
60
- // },
61
49
  {
62
50
  region: 'Baltic Sea',
63
51
  countries: [
@@ -70,8 +58,6 @@ export const regionCountries = [
70
58
  ['Poland', '/countries/poland'],
71
59
  ['Sweden', '/countries/sweden'],
72
60
  ['Norway', '/countries/norway'],
73
- // ['Russia', ''],
74
- // ['Belarus', ''],
75
61
  ],
76
62
  },
77
63
  {
@@ -124,7 +110,6 @@ export const regionCountries = [
124
110
  ['Republic of North Macedonia', ''],
125
111
  ['Slovenia', '/countries/slovenia'],
126
112
  ['Spain', '/countries/spain'],
127
- // ['United Kingdom', '/countries/united-kingdom'],
128
113
  ],
129
114
  },
130
115
  {
@@ -136,7 +121,6 @@ export const regionCountries = [
136
121
  ['France', '/countries/france'],
137
122
  ['Netherlands', '/countries/netherlands'],
138
123
  ['Sweden', '/countries/sweden'],
139
- // ['United Kingdom', '/countries/united-kingdom'],
140
124
  ['Norway', '/countries/norway'],
141
125
  ],
142
126
  },
@@ -150,7 +134,6 @@ export const regionCountries = [
150
134
  ['Luxembourg', '/countries/luxembourg'],
151
135
  ['Netherlands', '/countries/netherlands'],
152
136
  ['Switzerland', '/countries/switzerland'],
153
- // ['United Kingdom', '/countries/united-kingdom'],
154
137
  ],
155
138
  },
156
139
  {
@@ -159,12 +142,7 @@ export const regionCountries = [
159
142
  ['France', '/countries/france'],
160
143
  ['Portugal', '/countries/portugal'],
161
144
  ['Spain', '/countries/spain'],
162
- // ['United Kingdom', '/countries/united-kingdom'],
163
145
  ['Andorra', ''],
164
146
  ],
165
147
  },
166
- // {
167
- // region: 'Other regions',
168
- // countries: [],
169
- // },
170
148
  ];
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import { Fragment } from 'react';
1
+ import React, { Fragment } from 'react';
3
2
  import {
4
3
  HTMLField,
5
4
  ContentMetadata,
@@ -0,0 +1,63 @@
1
+ import React from 'react';
2
+ import { getBaseUrl } from '@plone/volto/helpers';
3
+ import { Breadcrumb } from 'semantic-ui-react';
4
+ import { useSelector, useDispatch } from 'react-redux';
5
+ import { Link, useLocation } from 'react-router-dom';
6
+ import { defineMessages, useIntl } from 'react-intl';
7
+
8
+ import ContentsBreadcrumbsRootItem from '@plone/volto/components/manage/Contents/ContentsBreadcrumbsRootItem';
9
+
10
+ import { getPhysicalBreadcrumbs } from '@eeacms/volto-cca-policy/store';
11
+
12
+ const messages = defineMessages({
13
+ home: {
14
+ id: 'Home',
15
+ defaultMessage: 'Home',
16
+ },
17
+ root: {
18
+ id: 'Root',
19
+ defaultMessage: 'Root',
20
+ },
21
+ });
22
+
23
+ const ContentsBreadcrumbs = () => {
24
+ const items = useSelector((state) => state.physicalBreadcrumbs.items || []);
25
+ const intl = useIntl();
26
+ const pathname = useLocation().pathname;
27
+ const dispatch = useDispatch();
28
+
29
+ React.useEffect(() => {
30
+ const url = getBaseUrl(pathname);
31
+ dispatch(getPhysicalBreadcrumbs(url));
32
+ }, [dispatch, pathname]);
33
+
34
+ return (
35
+ <Breadcrumb>
36
+ <Link
37
+ to="/contents"
38
+ className="section"
39
+ title={intl.formatMessage(messages.root)}
40
+ >
41
+ <ContentsBreadcrumbsRootItem />
42
+ </Link>
43
+ {items.map((breadcrumb, index, breadcrumbs) => [
44
+ <Breadcrumb.Divider key={`divider-${breadcrumb.url}`} />,
45
+ index < breadcrumbs.length - 1 ? (
46
+ <Link
47
+ key={breadcrumb.url}
48
+ to={`${breadcrumb.url}/contents`}
49
+ className="section"
50
+ >
51
+ {breadcrumb.nav_title || breadcrumb.title}
52
+ </Link>
53
+ ) : (
54
+ <Breadcrumb.Section key={breadcrumb.url} active>
55
+ {breadcrumb.nav_title || breadcrumb.title}
56
+ </Breadcrumb.Section>
57
+ ),
58
+ ])}
59
+ </Breadcrumb>
60
+ );
61
+ };
62
+
63
+ export default ContentsBreadcrumbs;
@@ -0,0 +1,3 @@
1
+ Based on https://github.com/plone/volto/blob/bb1753d13d2adfa4ee33aaed5a0606ac0255d1f8/packages/volto/src/components/manage/Contents/ContentsBreadcrumbs.jsx
2
+
3
+ Customized because we want to use the @physical-breadcrumbs instead of the regular breadcrumbs. Needs dedicated endpoint support
package/src/index.js CHANGED
@@ -23,6 +23,7 @@ import europeanComissionLogo from '@eeacms/volto-cca-policy/../theme/assets/imag
23
23
 
24
24
  import installBlocks from './components/manage/Blocks';
25
25
  import installSearchEngine from './search';
26
+ import installStore from './store';
26
27
 
27
28
  import GeocharsWidget from './components/theme/Widgets/GeocharsWidget';
28
29
  import GeolocationWidget from './components/theme/Widgets/GeolocationWidget';
@@ -143,7 +144,7 @@ const applyConfig = (config) => {
143
144
  },
144
145
  headerSearchBox: [
145
146
  {
146
- isDefault: true,
147
+ isDefault: false,
147
148
  // to replace search path change path to whatever you want and match with the page in volto website
148
149
  matchpath: '/en/mission',
149
150
  path: '/en/mission/knowledge-and-data/search-the-database',
@@ -163,6 +164,16 @@ const applyConfig = (config) => {
163
164
  buttonTitle: 'Go to advanced search',
164
165
  buttonUrl: 'https://www.eea.europa.eu/en/advanced-search',
165
166
  },
167
+ {
168
+ isDefault: true,
169
+ // to replace search path change path to whatever you want and match with the page in volto website
170
+ matchpath: '/',
171
+ path: '/en/data-and-downloads',
172
+ placeholder: 'Search the Climate-ADAPT database',
173
+ description: 'Looking for more information?',
174
+ buttonTitle: 'Explore more on Climate-ADAPT',
175
+ buttonUrl: 'https://climate-adapt.eea.europa.eu/en/data-and-downloads/',
176
+ },
166
177
  ],
167
178
  logoTargetUrl: '/',
168
179
  organisationName: 'Climate-ADAPT',
@@ -336,12 +347,6 @@ const applyConfig = (config) => {
336
347
  config = installExpressMiddleware(config);
337
348
  }
338
349
 
339
- // fixes bug caused by https://github.com/eea/volto-eea-website-theme/commit/94078403458a5a3ea725ce9126fffed9d463097d
340
- config.settings.apiExpanders.push({
341
- match: '',
342
- GET_CONTENT: ['breadcrumbs'], // 'navigation', 'actions', 'types'],
343
- });
344
-
345
350
  config.addonRoutes = [
346
351
  {
347
352
  path: `/(${config.settings?.supportedLanguages.join(
@@ -353,7 +358,7 @@ const applyConfig = (config) => {
353
358
  ...(config.addonRoutes || []),
354
359
  ];
355
360
 
356
- return compose(installBlocks, installSearchEngine)(config);
361
+ return compose(installBlocks, installSearchEngine, installStore)(config);
357
362
  };
358
363
 
359
364
  export default applyConfig;
@@ -0,0 +1,148 @@
1
+ import { booleanFacet } from '@eeacms/search';
2
+ import { getTodayWithTime } from './utils';
3
+
4
+ export const include_archived = booleanFacet(() => ({
5
+ field: 'IncludeArchived',
6
+ label: 'Include archived content',
7
+ id: 'archived-facet',
8
+ showInFacetsList: false,
9
+ showInSecondaryFacetsList: true,
10
+ isFilter: true, // filters don't need facet options to show up
11
+
12
+ // we want this to be applied by default
13
+ // when the facet is checked, then apply the `on` key:
14
+ off: {
15
+ constant_score: {
16
+ filter: {
17
+ bool: {
18
+ should: [
19
+ { bool: { must_not: { exists: { field: 'expires' } } } },
20
+ // Functions should be supported in the buildFilters
21
+ { range: { expires: { gte: getTodayWithTime() } } },
22
+ ],
23
+ },
24
+ },
25
+ },
26
+ },
27
+ on: null,
28
+ }));
29
+
30
+ export const objectProvides = {
31
+ field: 'objectProvides',
32
+ factory: 'MultiTermFacet',
33
+ label: 'Type of item',
34
+ showInFacetsList: true,
35
+ filterType: 'any',
36
+ isFilterable: false,
37
+ show: 10000,
38
+ isMulti: true,
39
+ iconsFamily: 'Content types',
40
+ optionsFilter: 'typesForClustersOptionsFilter',
41
+ };
42
+
43
+ export const issued_date = {
44
+ field: 'issued.date',
45
+ factory: 'DropdownRangeFilter',
46
+ wrapper: 'DummySUIFacetWrapper',
47
+ label: ' ',
48
+ showInFacetsList: false,
49
+ filterType: 'any',
50
+ isFilterable: false,
51
+ activeFilterLabel: 'Published',
52
+ isFilter: true,
53
+ showInSecondaryFacetsList: true,
54
+ isMulti: false,
55
+ ignoreFromNlp: true,
56
+ ranges: [
57
+ {
58
+ key: 'All time',
59
+ },
60
+ {
61
+ key: 'Last week',
62
+ from: 'now-1w',
63
+ to: 'now',
64
+ },
65
+ {
66
+ key: 'Last month',
67
+ from: 'now-1m',
68
+ to: 'now',
69
+ },
70
+ {
71
+ key: 'Last 3 months',
72
+ from: 'now-3m',
73
+ to: 'now',
74
+ },
75
+ {
76
+ key: 'Last year',
77
+ from: 'now-1y',
78
+ to: 'now',
79
+ },
80
+ {
81
+ key: 'Last 2 years',
82
+ from: 'now-2y',
83
+ to: 'now',
84
+ },
85
+ {
86
+ key: 'Last 5 years',
87
+ from: 'now-5y',
88
+ to: 'now',
89
+ },
90
+ ],
91
+ default: {
92
+ values: ['Last 5 years'],
93
+ type: 'any',
94
+ },
95
+ };
96
+
97
+ export const language = {
98
+ field: 'language',
99
+ factory: 'MultiTermFacet',
100
+ label: 'Language',
101
+ showInFacetsList: false,
102
+ filterType: 'any',
103
+ isFilterable: false,
104
+ show: 10000,
105
+ isMulti: true,
106
+ default: {
107
+ values: ['en'],
108
+ type: 'any',
109
+ },
110
+ facetValues: [
111
+ 'ar',
112
+ 'sr',
113
+ 'sq',
114
+ 'bg',
115
+ 'bs',
116
+ 'cs',
117
+ 'hr',
118
+ 'da',
119
+ 'nl',
120
+ 'el',
121
+ 'en',
122
+ 'et',
123
+ 'fi',
124
+ 'fr',
125
+ 'ga',
126
+ 'de',
127
+ 'hu',
128
+ 'is',
129
+ 'it',
130
+ 'lv',
131
+ 'lt',
132
+ 'mk',
133
+ 'mt',
134
+ 'no',
135
+ 'pl',
136
+ 'pt',
137
+ 'ro',
138
+ 'ru',
139
+ 'sh',
140
+ 'sk',
141
+ 'sl',
142
+ 'es',
143
+ 'sv',
144
+ 'tr',
145
+ ],
146
+ sortOn: 'custom',
147
+ sortOnCustomLabel: 'Alphabetical',
148
+ };
@@ -1,5 +1,9 @@
1
- import { booleanFacet } from '@eeacms/search';
2
- import { getTodayWithTime } from './utils';
1
+ import {
2
+ include_archived,
3
+ objectProvides,
4
+ language,
5
+ issued_date,
6
+ } from './common';
3
7
 
4
8
  const adaptation_sectors = {
5
9
  field: 'cca_adaptation_sectors.keyword',
@@ -15,32 +19,6 @@ const adaptation_sectors = {
15
19
  alwaysVisible: true,
16
20
  };
17
21
 
18
- const include_archived = booleanFacet(() => ({
19
- field: 'IncludeArchived',
20
- label: 'Include archived content',
21
- id: 'archived-facet',
22
- showInFacetsList: false,
23
- showInSecondaryFacetsList: true,
24
- isFilter: true, // filters don't need facet options to show up
25
-
26
- // we want this to be applied by default
27
- // when the facet is checked, then apply the `on` key:
28
- off: {
29
- constant_score: {
30
- filter: {
31
- bool: {
32
- should: [
33
- { bool: { must_not: { exists: { field: 'expires' } } } },
34
- // Functions should be supported in the buildFilters
35
- { range: { expires: { gte: getTodayWithTime() } } },
36
- ],
37
- },
38
- },
39
- },
40
- },
41
- on: null,
42
- }));
43
-
44
22
  // const clusters = {
45
23
  // field: 'op_cluster',
46
24
  // factory: 'MultiTermFacet',
@@ -53,73 +31,6 @@ const include_archived = booleanFacet(() => ({
53
31
  // blacklist: ['Others', 'Publications'],
54
32
  // };
55
33
 
56
- const objectProvides = {
57
- field: 'objectProvides',
58
- factory: 'MultiTermFacet',
59
- label: 'Type of item',
60
- showInFacetsList: true,
61
- filterType: 'any',
62
- isFilterable: false,
63
- show: 10000,
64
- isMulti: true,
65
- iconsFamily: 'Content types',
66
- optionsFilter: 'typesForClustersOptionsFilter',
67
- };
68
-
69
- const issued = {
70
- field: 'issued.date',
71
- factory: 'DropdownRangeFilter',
72
- wrapper: 'DummySUIFacetWrapper',
73
- label: ' ',
74
- showInFacetsList: false,
75
- filterType: 'any',
76
- isFilterable: false,
77
- activeFilterLabel: 'Published',
78
- isFilter: true,
79
- showInSecondaryFacetsList: true,
80
- isMulti: false,
81
- ignoreFromNlp: true,
82
- ranges: [
83
- {
84
- key: 'All time',
85
- },
86
- {
87
- key: 'Last week',
88
- from: 'now-1w',
89
- to: 'now',
90
- },
91
- {
92
- key: 'Last month',
93
- from: 'now-1m',
94
- to: 'now',
95
- },
96
- {
97
- key: 'Last 3 months',
98
- from: 'now-3m',
99
- to: 'now',
100
- },
101
- {
102
- key: 'Last year',
103
- from: 'now-1y',
104
- to: 'now',
105
- },
106
- {
107
- key: 'Last 2 years',
108
- from: 'now-2y',
109
- to: 'now',
110
- },
111
- {
112
- key: 'Last 5 years',
113
- from: 'now-5y',
114
- to: 'now',
115
- },
116
- ],
117
- default: {
118
- values: ['Last 5 years'],
119
- type: 'any',
120
- },
121
- };
122
-
123
34
  const climate_impacts = {
124
35
  field: 'cca_climate_impacts.keyword',
125
36
  factory: 'MultiTermFacet',
@@ -212,65 +123,12 @@ const geographic_countries = {
212
123
  // sortOnCustomLabel: 'Alphabetical',
213
124
  };
214
125
 
215
- const language = {
216
- field: 'language',
217
- factory: 'MultiTermFacet',
218
- label: 'Language',
219
- showInFacetsList: false,
220
- filterType: 'any',
221
- isFilterable: false,
222
- show: 10000,
223
- isMulti: true,
224
- default: {
225
- values: ['en'],
226
- type: 'any',
227
- },
228
- facetValues: [
229
- 'ar',
230
- 'sr',
231
- 'sq',
232
- 'bg',
233
- 'bs',
234
- 'cs',
235
- 'hr',
236
- 'da',
237
- 'nl',
238
- 'el',
239
- 'en',
240
- 'et',
241
- 'fi',
242
- 'fr',
243
- 'ga',
244
- 'de',
245
- 'hu',
246
- 'is',
247
- 'it',
248
- 'lv',
249
- 'lt',
250
- 'mk',
251
- 'mt',
252
- 'no',
253
- 'pl',
254
- 'pt',
255
- 'ro',
256
- 'ru',
257
- 'sh',
258
- 'sk',
259
- 'sl',
260
- 'es',
261
- 'sv',
262
- 'tr',
263
- ],
264
- sortOn: 'custom',
265
- sortOnCustomLabel: 'Alphabetical',
266
- };
267
-
268
126
  const facets = [
269
127
  adaptation_sectors,
270
128
  include_archived,
271
129
  // clusters,
272
130
  objectProvides,
273
- issued,
131
+ issued_date,
274
132
  climate_impacts,
275
133
  transnational_regions,
276
134
  adaptation_elements,