@eeacms/volto-globalsearch 1.0.9 → 1.0.10

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,13 @@ 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.9](https://github.com/eea/volto-globalsearch/compare/1.0.8...1.0.9) - 7 February 2023
7
+ ### [1.0.10](https://github.com/eea/volto-globalsearch/compare/1.0.9...1.0.10) - 9 February 2023
8
8
 
9
9
  #### :hammer_and_wrench: Others
10
10
 
11
- - updated whitelist for topics on landing page [Zoltan Szabo - [`7533591`](https://github.com/eea/volto-globalsearch/commit/7533591cd1dab07f75fb127fab95a0e8e30467d7)]
11
+ - also show results if it's published but has no publish date [Zoltan Szabo - [`0fc61bc`](https://github.com/eea/volto-globalsearch/commit/0fc61bc59c7f26a3b3e5022aa74d6c278ec1724c)]
12
+ ### [1.0.9](https://github.com/eea/volto-globalsearch/compare/1.0.8...1.0.9) - 7 February 2023
13
+
12
14
  ### [1.0.8](https://github.com/eea/volto-globalsearch/compare/1.0.7...1.0.8) - 27 January 2023
13
15
 
14
16
  ### [1.0.7](https://github.com/eea/volto-globalsearch/compare/1.0.6...1.0.7) - 24 January 2023
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-globalsearch",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "@eeacms/volto-globalsearch: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -7,7 +7,22 @@ export default {
7
7
  () => ({
8
8
  constant_score: {
9
9
  filter: {
10
- range: { 'issued.date': { lte: getTodayWithTime() } },
10
+ bool: {
11
+ should: [
12
+ {
13
+ bool: {
14
+ must_not: {
15
+ exists: {
16
+ field: 'issued',
17
+ },
18
+ },
19
+ },
20
+ },
21
+ {
22
+ range: { 'issued.date': { lte: getTodayWithTime() } },
23
+ },
24
+ ],
25
+ },
11
26
  },
12
27
  },
13
28
  }),