This commit is contained in:
2026-05-07 21:04:27 +02:00
parent 6f3a63af12
commit fb6a0c7968
13 changed files with 101 additions and 48 deletions

View File

@@ -658,7 +658,8 @@
{
locale: "fr-FR",
populate: populateInstruments,
pageSize: 500,
pageSize: 100,
fetchAll: true,
}
)
@@ -685,7 +686,14 @@
groups.get(categoryName).instruments_list.push(instrument)
}
return Array.from(groups.values())
return Array.from(groups.values()).map((category) => ({
...category,
instruments_list: category.instruments_list.sort((a, b) =>
String(a.instrument_nom || "").localeCompare(String(b.instrument_nom || ""), "fr", {
sensitivity: "base",
})
),
}))
})
const openedInstrumentDescriptions = ref({})