@eeacms/volto-cca-policy 0.2.58 → 0.2.59

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,7 +4,12 @@ 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.58](https://github.com/eea/volto-cca-policy/compare/0.2.57...0.2.58) - 9 August 2024
7
+ ### [0.2.59](https://github.com/eea/volto-cca-policy/compare/0.2.58...0.2.59) - 12 August 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Don't hardcode to last 5 years [Tiberiu Ichim - [`475d7e1`](https://github.com/eea/volto-cca-policy/commit/475d7e17a8faeec9115298bd38f30db51b038a36)]
12
+ ### [0.2.58](https://github.com/eea/volto-cca-policy/compare/0.2.57...0.2.58) - 12 August 2024
8
13
 
9
14
  #### :house: Internal changes
10
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.2.58",
3
+ "version": "0.2.59",
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",
@@ -69,7 +69,7 @@ const makeSearchBlockQuery = ({ base, query, field, value }) => {
69
69
  const makeEEASearchQuery = ({ base, field, value, extraFilters }) => {
70
70
  // TODO: don't hardcode the language
71
71
  const allFields = [
72
- ['issued.date', 'Last 5 years'],
72
+ // ['issued.date', 'Last 5 years'],
73
73
  ['language', 'en'],
74
74
  [field, value],
75
75
  ...(extraFilters?.map(({ id, value }) => [id, value]) || []),