Skip to content
Snippets Groups Projects
Commit 654b399f authored by Marlène SIMONDANT's avatar Marlène SIMONDANT
Browse files

fix(carto): trainings order

parent 015b96ca
Branches
Tags
2 merge requests!542V2.3.1,!533[Carto] - Filtre "compétences numériques""
......@@ -264,7 +264,7 @@ export class StructureListSearchComponent implements OnInit {
break;
case Theme.skills:
this.categoriesTraining.push(category);
this.categoriesTraining.sort((a, b) => a.name.localeCompare(b.name));
// no sort here because we want trainings to be ordered like they are in the database
break;
case Theme.materialAndWifi:
this.categoriesEquipment.push(category);
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment