Skip to content

Commit

Permalink
Merge pull request #20 from eea/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
zotya authored Jan 17, 2023
2 parents 7a6b813 + fc924e8 commit bb896b0
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### [1.0.6](https://github.com/eea/volto-globalsearch/compare/1.0.5...1.0.6) - 17 January 2023

#### :hammer_and_wrench: Others

- Set a whitelist for the countries to be displayed on the landingpage [Zoltan Szabo - [`42a50b9`](https://github.com/eea/volto-globalsearch/commit/42a50b9b25683e93ba303126a0faf6d5bf234e34)]
### [1.0.5](https://github.com/eea/volto-globalsearch/compare/1.0.4...1.0.5) - 17 January 2023

#### :hammer_and_wrench: Others
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-globalsearch",
"version": "1.0.5",
"version": "1.0.6",
"description": "@eeacms/volto-globalsearch: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
40 changes: 40 additions & 0 deletions src/config/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,46 @@ export default {
facetField: 'spatial',
filterType: 'any:exact',
sortOn: 'alpha',
whitelist: [
'Austria',
'Belgium',
'Bulgaria',
'Croatia',
'Cyprus',
'Czechia',
'Denmark',
'Estonia',
'Finland',
'France',
'Germany',
'Greece',
'Hungary',
'Iceland',
'Ireland',
'Italy',
'Latvia',
'Liechtenstein',
'Lithuania',
'Luxembourg',
'Malta',
'Netherlands',
'Norway',
'Poland',
'Portugal',
'Romania',
'Slovakia',
'Slovenia',
'Spain',
'Sweden',
'Switzerland',
'Turkey',
'Albania',
'Bosnia and Herzegovina',
'Kosovo',
'Montenegro',
'North Macedonia',
'Serbia',
],
icon: {
family: 'CountryFlags',
className: 'facet-option-icon',
Expand Down

0 comments on commit bb896b0

Please sign in to comment.