fixed ordine alfabetico capitolato

This commit is contained in:
Claudio 2026-03-25 14:20:45 +01:00
parent 0645a0c675
commit b562eb4033
3 changed files with 16 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -316,3 +316,5 @@
2026-03-01 19:11:58 [AnagraficaCertestObject] Autenticazione fallita: HTTP 400, Errore cURL: , Risposta: {"title":"Bad Request","status":400,"detail":"Cannot persist the object. It was modified or deleted (purged) by another application.","instance":"POST /api/authentication/authenticate","errorCode":"96bfc1252b"}
2026-03-18 15:51:45 [AnagraficaCertestService] Autenticazione fallita: HTTP 400, Errore cURL: , Risposta: {"title":"Bad Request","status":400,"detail":"Cannot persist the object. It was modified or deleted (purged) by another application.","instance":"POST /api/authentication/authenticate","errorCode":"96bfc1252b"}
2026-03-19 09:50:34 [AnagraficaCertestService] Autenticazione fallita: HTTP 400, Errore cURL: , Risposta: {"title":"Bad Request","status":400,"detail":"Cannot persist the object. It was modified or deleted (purged) by another application.","instance":"POST /api/authentication/authenticate","errorCode":"96bfc1252b"}
2026-03-25 14:13:34 - Autenticazione fallita: HTTP 503, Errore cURL: , Risposta: The service is unavailable.
2026-03-25 14:13:34 - Autenticazione fallita: HTTP 503, Errore cURL: , Risposta: The service is unavailable.

View File

@ -81,10 +81,19 @@ $(document).ready(function () {
data: { field_ids: fieldId },
success: function (res) {
const arr = res && res[fieldId] ? res[fieldId] : [];
extraFieldOptions = (arr || []).map((x) => ({
id: x.IdCustomFieldsValue,
label: x.Valore,
}));
extraFieldOptions = (arr || [])
.map((x) => ({
id: x.IdCustomFieldsValue,
label: x.Valore || "",
}))
.sort((a, b) =>
a.label.localeCompare(b.label, "it", {
sensitivity: "base",
numeric: true,
}),
);
done();
},
error: function () {