@eeacms/volto-eea-website-policy 4.0.9 → 4.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
- ### [4.0.9](https://github.com/eea/volto-eea-website-policy/compare/4.0.8...4.0.9) - 10 November 2026
7
+ ### [4.0.10](https://github.com/eea/volto-eea-website-policy/compare/4.0.9...4.0.10) - 10 November 2026
8
8
 
9
- #### :rocket: New Features
9
+ #### :bug: Bug Fixes
10
10
 
11
- - feat: Implement PWA (Web App Manifest) to make www.eea.europa.eu installable as an app in Chrome -refs #309447 [ana-oprea - [`2fd5486`](https://github.com/eea/volto-eea-website-policy/commit/2fd5486fb64960894541063c88087ea4d827470b)]
11
+ - fix: Enable legacy Plone route redirects - refs #310279 [Alin Voinea - [`b887aa3`](https://github.com/eea/volto-eea-website-policy/commit/b887aa3fdd5f4e1c5a96f1ccfb068135e34c6e62)]
12
+
13
+ ### [4.0.9](https://github.com/eea/volto-eea-website-policy/compare/4.0.8...4.0.9) - 10 November 2026
12
14
 
13
15
  ### [4.0.8](https://github.com/eea/volto-eea-website-policy/compare/4.0.7...4.0.8) - 30 October 2026
14
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-policy",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "description": "@eeacms/volto-eea-website-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
package/src/index.js CHANGED
@@ -105,6 +105,15 @@ const applyConfig = (config) => {
105
105
  config.settings.eea.themeColor = '#004B7F';
106
106
  config.settings.eea.appTitle = 'EEA';
107
107
 
108
+ // Legacy Plone routes: /@@search and /search land on the EEA search page,
109
+ // Plone view/file suffixes (/view, /@@view, /folder_listing, /at_download)
110
+ // are stripped to the parent object. See the theme's middleware/legacyRoutes.js
111
+ config.settings.eea.legacyRoutes = {
112
+ ...config.settings.eea.legacyRoutes,
113
+ views: true,
114
+ search: '/en/advanced-search',
115
+ };
116
+
108
117
  // EPANET subsite: hardcoded governance exception, intentionally not
109
118
  // editable from the CMS. The uploaded subsite logo replaces the EEA logo,
110
119
  // the header top bar is hidden and the footer does not show the EEA