From 363df1399a8a59efc4081d575a608ac9b2bf5d37 Mon Sep 17 00:00:00 2001 From: Alin Voinea Date: Fri, 16 Jun 2023 15:59:15 +0300 Subject: [PATCH 1/2] test: Provide a compare function to avoid sorting elements alphabetically. --- src/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers.js b/src/helpers.js index 2b71d5f..815a6d4 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -83,6 +83,6 @@ export function getIndividualValues(values) { } } } - year_values.sort(); + year_values.sort((a, b) => a - b); return year_values.map((year) => createOption(year)); } From 44c52af8f088f491c1d7648800e19732ecf7516f Mon Sep 17 00:00:00 2001 From: EEA Jenkins <@users.noreply.github.com> Date: Tue, 20 Jun 2023 14:51:42 +0000 Subject: [PATCH 2/2] Automated release 5.1.2 --- CHANGELOG.md | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae8a870..0525c06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +### [5.1.2](https://github.com/eea/volto-widget-temporal-coverage/compare/5.1.1...5.1.2) - 20 June 2023 + +#### :hammer_and_wrench: Others + +- test: Provide a compare function to avoid sorting elements alphabetically. [Alin Voinea - [`363df13`](https://github.com/eea/volto-widget-temporal-coverage/commit/363df1399a8a59efc4081d575a608ac9b2bf5d37)] ### [5.1.1](https://github.com/eea/volto-widget-temporal-coverage/compare/5.1.0...5.1.1) - 12 June 2023 #### :rocket: New Features diff --git a/package.json b/package.json index 686b3a2..497ec65 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eeacms/volto-widget-temporal-coverage", - "version": "5.1.1", + "version": "5.1.2", "description": "volto-widget-temporal-coverage: Volto add-on", "main": "src/index.js", "author": "European Environment Agency: IDM2 A-Team",