design-comuni-plone-theme 11.30.0 → 11.30.1
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/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +12 -0
- package/RELEASE.md +7 -1
- package/package.json +1 -1
- package/publiccode.yml +2 -2
- package/src/components/ItaliaTheme/Search/Search.jsx +5 -3
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [11.30.1](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.30.0...v11.30.1) (2025-04-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* fixed sort_on from url param search view ([#939](https://github.com/RedTurtle/design-comuni-plone-theme/issues/939)) ([fc64b64](https://github.com/RedTurtle/design-comuni-plone-theme/commit/fc64b64aa03a9af66f04a0dceacfaca7ed086a67))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Documentation
|
|
12
|
+
|
|
13
|
+
* updated publiccode and release log ([82f239c](https://github.com/RedTurtle/design-comuni-plone-theme/commit/82f239c70a91132d1a5dec5e082082478c6c8793))
|
|
14
|
+
|
|
3
15
|
## [11.30.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.29.2...v11.30.0) (2025-04-04)
|
|
4
16
|
|
|
5
17
|
|
package/RELEASE.md
CHANGED
|
@@ -40,7 +40,13 @@
|
|
|
40
40
|
|
|
41
41
|
- ...
|
|
42
42
|
-->
|
|
43
|
-
|
|
43
|
+
|
|
44
|
+
## Versione 11.30.1 (14/04/2025)
|
|
45
|
+
|
|
46
|
+
### Fix
|
|
47
|
+
|
|
48
|
+
- Sistemato select di ordinamento dei risultati di ricerca nella pagina di ricerca generale del sito, ora tramite url se si inserisce il parametro sort_on con valore "Date", "relevance" o "sortable_title" risultati di ricerca sono ordinati correttamente.
|
|
49
|
+
|
|
44
50
|
## Versione 11.30.0 (04/04/2025)
|
|
45
51
|
|
|
46
52
|
### Migliorie
|
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: '2025-04-
|
|
230
|
+
releaseDate: '2025-04-14'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 11.30.
|
|
232
|
+
softwareVersion: 11.30.1
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -158,7 +158,7 @@ const messages = defineMessages({
|
|
|
158
158
|
|
|
159
159
|
const searchOrderDict = {
|
|
160
160
|
relevance: {},
|
|
161
|
-
|
|
161
|
+
Date: {
|
|
162
162
|
sort_on: 'Date',
|
|
163
163
|
},
|
|
164
164
|
sortable_title: {
|
|
@@ -188,7 +188,9 @@ const Search = () => {
|
|
|
188
188
|
|
|
189
189
|
const [customPath] = useState(qs.parse(location.search)?.custom_path ?? '');
|
|
190
190
|
|
|
191
|
-
const [sortOn, setSortOn] = useState(
|
|
191
|
+
const [sortOn, setSortOn] = useState(
|
|
192
|
+
qs.parse(location.search)?.sort_on ?? 'relevance',
|
|
193
|
+
);
|
|
192
194
|
const [currentPage, setCurrentPage] = useState(
|
|
193
195
|
qs.parse(location.search)?.b_start
|
|
194
196
|
? qs.parse(location.search).b_start / config.settings.defaultPageSize + 1
|
|
@@ -215,7 +217,7 @@ const Search = () => {
|
|
|
215
217
|
label: intl.formatMessage(messages.sort_on_relevance),
|
|
216
218
|
},
|
|
217
219
|
{
|
|
218
|
-
value: '
|
|
220
|
+
value: 'Date',
|
|
219
221
|
label: intl.formatMessage(messages.sort_on_date),
|
|
220
222
|
},
|
|
221
223
|
{
|