diff --git a/src/client/app/containers/MultiCompareChartContainer.ts b/src/client/app/containers/MultiCompareChartContainer.ts index 150897518..5fb4c837d 100644 --- a/src/client/app/containers/MultiCompareChartContainer.ts +++ b/src/client/app/containers/MultiCompareChartContainer.ts @@ -129,7 +129,7 @@ function sortIDs(ids: CompareEntity[], sortingOrder: SortingOrder): CompareEntit return 0; }); break; - case SortingOrder.Descending: + case SortingOrder.Ascending: ids.sort((a, b) => { if (a.change < b.change) { return -1; @@ -140,7 +140,7 @@ function sortIDs(ids: CompareEntity[], sortingOrder: SortingOrder): CompareEntit return 0; }); break; - case SortingOrder.Ascending: + case SortingOrder.Descending: ids.sort((a, b) => { if (a.change > b.change) { return -1; diff --git a/src/client/app/translations/data.json b/src/client/app/translations/data.json index 464dfa7b6..6e1689f03 100644 --- a/src/client/app/translations/data.json +++ b/src/client/app/translations/data.json @@ -108,6 +108,7 @@ "help.meters.meterview": "This page shows information on meters. Please visit {link} for further details and information.", "hide": "Hide", "hide.options": "Hide options", + "hide.options.in.link": "Hide menu in link", "home": "Home", "import.meter.readings": "Import Meter Readings", "info": " for more information. ", @@ -325,6 +326,7 @@ "help.meters.meterview": "(Need French) This page shows information on meters. Please visit {link} for further details and information.", "hide": "Cacher", "hide.options": "Options de quai", + "hide.options.in.link": "(Need French) Hide menu in link", "home": "Accueil", "import.meter.readings": "Importer des Relevés de Mètres", "info": " pour plus d'informations. ", @@ -542,6 +544,7 @@ "help.meters.meterview": "(Need Spanish) This page shows information on meters. Please visit {link} for further details and information.", "hide": "Ocultar", "hide.options": "Opciones de muelle", + "hide.options.in.link": "(Need Spanish) Hide menu in link", "home": "Hogar", "import.meter.readings": "Importar lecturas del medidor", "info": " para obtener más información. ",