Skip to content

Commit

Permalink
Merge pull request #24 from eea/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
kreafox authored Feb 9, 2023
2 parents 313aa3f + 3bc5f5e commit fd0e228
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ 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.9](https://github.com/eea/volto-globalsearch/compare/1.0.8...1.0.9) - 7 February 2023
### [1.0.10](https://github.com/eea/volto-globalsearch/compare/1.0.9...1.0.10) - 9 February 2023

#### :hammer_and_wrench: Others

- updated whitelist for topics on landing page [Zoltan Szabo - [`7533591`](https://github.com/eea/volto-globalsearch/commit/7533591cd1dab07f75fb127fab95a0e8e30467d7)]
- also show results if it's published but has no publish date [Zoltan Szabo - [`0fc61bc`](https://github.com/eea/volto-globalsearch/commit/0fc61bc59c7f26a3b3e5022aa74d6c278ec1724c)]
### [1.0.9](https://github.com/eea/volto-globalsearch/compare/1.0.8...1.0.9) - 7 February 2023

### [1.0.8](https://github.com/eea/volto-globalsearch/compare/1.0.7...1.0.8) - 27 January 2023

### [1.0.7](https://github.com/eea/volto-globalsearch/compare/1.0.6...1.0.7) - 24 January 2023
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.9",
"version": "1.0.10",
"description": "@eeacms/volto-globalsearch: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
17 changes: 16 additions & 1 deletion src/config/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,22 @@ export default {
() => ({
constant_score: {
filter: {
range: { 'issued.date': { lte: getTodayWithTime() } },
bool: {
should: [
{
bool: {
must_not: {
exists: {
field: 'issued',
},
},
},
},
{
range: { 'issued.date': { lte: getTodayWithTime() } },
},
],
},
},
},
}),
Expand Down

0 comments on commit fd0e228

Please sign in to comment.