design-comuni-plone-theme 8.4.1 → 8.4.3
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
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [8.4.3](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v8.4.2...v8.4.3) (2023-08-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* fix querystringresults to work properly in megamenu ([#304](https://github.com/RedTurtle/design-comuni-plone-theme/issues/304)) ([79687c0](https://github.com/RedTurtle/design-comuni-plone-theme/commit/79687c0c75846b5bbe40dab509ccb0cbad6aa10f))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Documentation
|
|
12
|
+
|
|
13
|
+
* updated publiccode ([ff9f57b](https://github.com/RedTurtle/design-comuni-plone-theme/commit/ff9f57b5c07411835b2d6cf5cc20c78858faa182))
|
|
14
|
+
|
|
15
|
+
## [8.4.2](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v8.4.1...v8.4.2) (2023-08-24)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* more external url fixes for images ([dc6da3a](https://github.com/RedTurtle/design-comuni-plone-theme/commit/dc6da3ac832bec31c372cc854ff6b199df32273e))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Documentation
|
|
24
|
+
|
|
25
|
+
* updated publiccode ([ad343ef](https://github.com/RedTurtle/design-comuni-plone-theme/commit/ad343ef38c2d893c7ec7222c2e24baa7139ef4aa))
|
|
26
|
+
|
|
3
27
|
## [8.4.1](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v8.4.0...v8.4.1) (2023-08-24)
|
|
4
28
|
|
|
5
29
|
|
package/package.json
CHANGED
package/publiccode.yml
CHANGED
|
@@ -227,9 +227,9 @@ maintenance:
|
|
|
227
227
|
name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici
|
|
228
228
|
platforms:
|
|
229
229
|
- web
|
|
230
|
-
releaseDate: '2023-08-
|
|
230
|
+
releaseDate: '2023-08-25'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 8.4.
|
|
232
|
+
softwareVersion: 8.4.3
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -118,7 +118,7 @@ export const getImageAttributes = (
|
|
|
118
118
|
case 'internalUrl':
|
|
119
119
|
let baseUrl = `@@images/${imageField}`;
|
|
120
120
|
if (isFromBrain) baseUrl = `${itemPath}${baseUrl}`;
|
|
121
|
-
else baseUrl = `${image.split('
|
|
121
|
+
else baseUrl = `${image.split('/@@images')[0]}/${baseUrl}`;
|
|
122
122
|
baseUrl = flattenToAppURL(baseUrl);
|
|
123
123
|
|
|
124
124
|
attrs.src = `${baseUrl}/${minScale}`;
|
package/src/customizations/volto/components/manage/Blocks/Listing/withQuerystringResults.jsx
CHANGED
|
@@ -61,13 +61,13 @@ export default function withQuerystringResults(WrappedComponent) {
|
|
|
61
61
|
//properties: content,
|
|
62
62
|
properties,
|
|
63
63
|
path,
|
|
64
|
-
variation,
|
|
64
|
+
//variation,
|
|
65
65
|
isEditMode,
|
|
66
66
|
} = props;
|
|
67
67
|
const content = useSelector((state) => state.content.data);
|
|
68
68
|
const { settings } = config;
|
|
69
69
|
const querystring = data.querystring || data; // For backwards compat with data saved before Blocks schema
|
|
70
|
-
const subrequestID = content
|
|
70
|
+
const subrequestID = content?.UID + '-' + id;
|
|
71
71
|
const { b_size = settings.defaultPageSize } = querystring;
|
|
72
72
|
const [firstLoading, setFirstLoading] = React.useState(true);
|
|
73
73
|
// save the path so it won't trigger dispatch on eager router location change
|
|
@@ -186,7 +186,7 @@ export default function withQuerystringResults(WrappedComponent) {
|
|
|
186
186
|
doSearch(data);
|
|
187
187
|
}
|
|
188
188
|
/* eslint-disable react-hooks/exhaustive-deps */
|
|
189
|
-
}, [data]);
|
|
189
|
+
}, [data, content]);
|
|
190
190
|
|
|
191
191
|
const doSearch = (data = { querystring: { query: [] } }, page = 1) => {
|
|
192
192
|
let _dataQuerystring = data?.querystring ?? data; //Backward compatibility before blockSchema
|