@eeacms/volto-cca-policy 0.2.50 → 0.2.52

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,15 @@ 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.50](https://github.com/eea/volto-cca-policy/compare/0.2.49...0.2.50) - 9 July 2024
7
+ ### [0.2.52](https://github.com/eea/volto-cca-policy/compare/0.2.51...0.2.52) - 10 July 2024
8
8
 
9
9
  #### :hammer_and_wrench: Others
10
10
 
11
- - Refs #271901 - mission all permanent filters update [Tripon Eugen - [`6446e1e`](https://github.com/eea/volto-cca-policy/commit/6446e1e67837d98e96b6774bf4a15e40b786aab4)]
11
+ - Refs #271901 - exclude cca events [Tripon Eugen - [`1ee5363`](https://github.com/eea/volto-cca-policy/commit/1ee5363918870cb8e869c084e828adaacd2a3fa7)]
12
+ ### [0.2.51](https://github.com/eea/volto-cca-policy/compare/0.2.50...0.2.51) - 9 July 2024
13
+
14
+ ### [0.2.50](https://github.com/eea/volto-cca-policy/compare/0.2.49...0.2.50) - 9 July 2024
15
+
12
16
  ### [0.2.49](https://github.com/eea/volto-cca-policy/compare/0.2.48...0.2.49) - 8 July 2024
13
17
 
14
18
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.2.50",
3
+ "version": "0.2.52",
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",
@@ -57,6 +57,17 @@ export default function installMainSearch(config) {
57
57
  cluster_name: 'cca',
58
58
  },
59
59
  });
60
+ missionAll.permanentFilters.push({
61
+ bool: {
62
+ must_not: [
63
+ {
64
+ prefix: {
65
+ 'id.keyword': 'https://climate-adapt.eea.europa.eu/en/more-events',
66
+ },
67
+ },
68
+ ],
69
+ },
70
+ });
60
71
  // missionAll.permanentFilters.push({
61
72
  // prefix: {
62
73
  // 'id.keyword': 'https://climate-adapt.eea.europa.eu/en/mission',
@@ -1,23 +1,15 @@
1
+ import globalSearchBaseConfig from '@eeacms/volto-globalsearch/config/global-search-base-config.js';
1
2
  import { multiTermFacet } from '@eeacms/search';
2
3
  import {
3
- include_archived,
4
- objectProvides,
5
- language,
6
- issued_date,
4
+ // objectProvides,
5
+ // language,
7
6
  geographic_countries,
8
7
  cca_climate_impacts,
9
8
  cca_adaptation_sectors,
10
9
  } from '../common';
11
10
 
12
11
  const facets = [
13
- multiTermFacet({
14
- field: 'cca_funding_programme.keyword',
15
- isFilterable: false,
16
- isMulti: true,
17
- label: 'Funding Programme',
18
- iconsFamily: 'Funding Programme',
19
- alwaysVisible: false,
20
- }),
12
+ ...globalSearchBaseConfig.facets,
21
13
  cca_climate_impacts,
22
14
  cca_adaptation_sectors,
23
15
  multiTermFacet({
@@ -28,10 +20,8 @@ const facets = [
28
20
  alwaysVisible: false,
29
21
  }),
30
22
  geographic_countries,
31
- include_archived,
32
- issued_date,
33
- language,
34
- objectProvides,
23
+ // language,
24
+ // objectProvides,
35
25
  ];
36
26
 
37
27
  export default facets;