@eeacms/volto-clms-theme 1.1.125 → 1.1.127
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,15 @@ 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.1.
|
|
7
|
+
### [1.1.127](https://github.com/eea/volto-clms-theme/compare/1.1.126...1.1.127) - 21 March 2024
|
|
8
8
|
|
|
9
9
|
#### :hammer_and_wrench: Others
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- sort production updates between Events and Tenders [Mikel Larreategi - [`6ee6759`](https://github.com/eea/volto-clms-theme/commit/6ee6759ccf636a42ce8cddfe302e46032112d912)]
|
|
12
|
+
### [1.1.126](https://github.com/eea/volto-clms-theme/compare/1.1.125...1.1.126) - 21 March 2024
|
|
13
|
+
|
|
14
|
+
### [1.1.125](https://github.com/eea/volto-clms-theme/compare/1.1.124...1.1.125) - 20 March 2024
|
|
15
|
+
|
|
12
16
|
### [1.1.124](https://github.com/eea/volto-clms-theme/compare/1.1.123...1.1.124) - 20 March 2024
|
|
13
17
|
|
|
14
18
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -51,11 +51,11 @@ const rewriteOptions = (name, choices) => {
|
|
|
51
51
|
'UseCase',
|
|
52
52
|
'News Item',
|
|
53
53
|
'eea.meeting',
|
|
54
|
+
'ProductionUpdate',
|
|
54
55
|
'Tender',
|
|
55
56
|
'WorkOpportunity',
|
|
56
57
|
'Document',
|
|
57
58
|
'File',
|
|
58
|
-
'ProductionUpdate',
|
|
59
59
|
];
|
|
60
60
|
|
|
61
61
|
const dataset_geographical_classification = [
|
|
@@ -137,6 +137,19 @@ const rewriteOptions = (name, choices) => {
|
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
if (name === 'dataset_characteristics_projections') {
|
|
141
|
+
result = choices.sort((a, b) => {
|
|
142
|
+
let a_number_str = a.label.split(':');
|
|
143
|
+
let b_number_str = b.label.split(':');
|
|
144
|
+
if (a_number_str.length > 1 && b_number_str.length > 1) {
|
|
145
|
+
let a_number = parseInt(a_number_str[1]);
|
|
146
|
+
let b_number = parseInt(b_number_str[1]);
|
|
147
|
+
return a_number - b_number;
|
|
148
|
+
}
|
|
149
|
+
return 0;
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
|
|
140
153
|
return result;
|
|
141
154
|
};
|
|
142
155
|
|