@eeacms/volto-datahub 1.0.1 → 1.0.2

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,6 +4,11 @@ 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
+ ### [1.0.2](https://github.com/eea/volto-datahub/compare/1.0.1...1.0.2) - 15 November 2022
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - added 'Legal instruments' facet; replaced 'Reported obligations' tab with 'Legal instruments' on landing page [Zoltan Szabo - [`c717d12`](https://github.com/eea/volto-datahub/commit/c717d12f24b14bcbc06413067875abbbb0f8eb50)]
7
12
  ### [1.0.1](https://github.com/eea/volto-datahub/compare/1.0.0...1.0.1) - 15 November 2022
8
13
 
9
14
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-datahub",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "@eeacms/volto-datahub: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -15,6 +15,14 @@ const facets = [
15
15
  show: 10000,
16
16
  showAllOptions: true, // show all options (even if 0) in modal facet
17
17
  }),
18
+ multiTermFacet({
19
+ field: 'instrument',
20
+ isFilterable: true,
21
+ isMulti: true,
22
+ label: 'Legal instruments',
23
+ show: 10000,
24
+ showAllOptions: true, // show all options (even if 0) in modal facet
25
+ }),
18
26
  multiTermFacet({
19
27
  field: 'topic',
20
28
  isFilterable: true,
@@ -26,9 +26,9 @@ export default {
26
26
  sortOn: 'alpha',
27
27
  },
28
28
  {
29
- id: 'rod',
30
- title: 'Reporting obligations',
31
- facetField: 'rod',
29
+ id: 'instrument',
30
+ title: 'Legal instruments',
31
+ facetField: 'instrument',
32
32
  sortOn: 'alpha',
33
33
  },
34
34
  {