@eeacms/volto-cca-policy 0.2.24 → 0.2.25
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 +11 -0
- package/package.json +1 -1
- package/src/components/manage/Blocks/SearchAceContent/SearchAceContentView.jsx +1 -1
- package/src/components/theme/ShareInfoButton/ShareInfoButton.jsx +1 -1
- package/src/components/theme/Views/C3SIndicatorView.jsx +2 -2
- package/src/components/theme/Views/CaseStudyView.jsx +1 -1
- package/src/search/mission_funding/facets-funding.js +13 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +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.2.25](https://github.com/eea/volto-cca-policy/compare/0.2.24...0.2.25) - 16 May 2024
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix: facets order [kreafox - [`32b55a1`](https://github.com/eea/volto-cca-policy/commit/32b55a1f6db776d5ae6eef08eafa6daf463db34c)]
|
|
12
|
+
- fix: countries order in funding search [kreafox - [`51139f6`](https://github.com/eea/volto-cca-policy/commit/51139f63e56bfc332b29034bca6167e3f9460edb)]
|
|
13
|
+
- fix: warning messages [kreafox - [`e3e41a4`](https://github.com/eea/volto-cca-policy/commit/e3e41a42e491a4d1c0ebfcf60960254a01194e00)]
|
|
14
|
+
|
|
15
|
+
#### :hammer_and_wrench: Others
|
|
16
|
+
|
|
17
|
+
- test: update snapshots [kreafox - [`fcc582e`](https://github.com/eea/volto-cca-policy/commit/fcc582e6579e647e61c303cf6173045c0e13cc40)]
|
|
7
18
|
### [0.2.24](https://github.com/eea/volto-cca-policy/compare/0.2.23...0.2.24) - 15 May 2024
|
|
8
19
|
|
|
9
20
|
#### :rocket: New Features
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ export default function SearchAceContentView(props) {
|
|
|
25
25
|
to="/en/help/share-your-info"
|
|
26
26
|
className="ui button icon left labeled primary"
|
|
27
27
|
>
|
|
28
|
-
<Icon
|
|
28
|
+
<Icon className="ri-share-line" />
|
|
29
29
|
<FormattedMessage
|
|
30
30
|
id="Share your information"
|
|
31
31
|
defaultMessage="Share your information"
|
|
@@ -226,9 +226,9 @@ function C3SIndicatorView(props) {
|
|
|
226
226
|
>
|
|
227
227
|
<span>Visualisation and Navigation</span>
|
|
228
228
|
{activeAccIndex === 0 ? (
|
|
229
|
-
<Icon
|
|
229
|
+
<Icon className="ri-arrow-up-s-line" />
|
|
230
230
|
) : (
|
|
231
|
-
<Icon
|
|
231
|
+
<Icon className="ri-arrow-down-s-line" />
|
|
232
232
|
)}
|
|
233
233
|
</Accordion.Title>
|
|
234
234
|
<Accordion.Content active={activeAccIndex === 0}>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { multiTermFacet } from '@eeacms/search';
|
|
2
|
-
|
|
3
2
|
import globalSearchBaseConfig from '@eeacms/volto-globalsearch/config/global-search-base-config.js';
|
|
3
|
+
import spatialWhitelist from '@eeacms/volto-globalsearch/config/json/spatialWhitelist';
|
|
4
4
|
import { cca_adaptation_sectors } from './../common';
|
|
5
5
|
|
|
6
|
-
const blacklist = ['IncludeArchived', 'issued.date'];
|
|
6
|
+
const blacklist = ['IncludeArchived', 'issued.date', 'spatial'];
|
|
7
7
|
|
|
8
8
|
const facets = [
|
|
9
9
|
multiTermFacet({
|
|
@@ -21,6 +21,17 @@ const facets = [
|
|
|
21
21
|
alwaysVisible: false,
|
|
22
22
|
}),
|
|
23
23
|
cca_adaptation_sectors,
|
|
24
|
+
multiTermFacet({
|
|
25
|
+
field: 'spatial',
|
|
26
|
+
isFilterable: true,
|
|
27
|
+
isMulti: true,
|
|
28
|
+
label: 'Countries',
|
|
29
|
+
spatialWhitelist: spatialWhitelist,
|
|
30
|
+
show: 10000,
|
|
31
|
+
iconsFamily: 'Countries',
|
|
32
|
+
enableExact: true,
|
|
33
|
+
alwaysVisible: false,
|
|
34
|
+
}),
|
|
24
35
|
|
|
25
36
|
...globalSearchBaseConfig.facets.filter((f) => !blacklist.includes(f.field)),
|
|
26
37
|
];
|