From 618a6f4a7a247c602f7001a1f86f8d86ca8cbe1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Flavio=20Bont=C3=A0?= Date: Fri, 14 Nov 2025 14:54:16 +0100 Subject: [PATCH] aggiunta euristica di ordinamento luoghi --- .../strutture-pubbliche-excerpt-res-dto.ts | 5 +++ .../strutture-pubbliche.component.html | 19 +++++--- .../strutture-pubbliche.component.ts | 45 +++++++++++++++---- 3 files changed, 55 insertions(+), 14 deletions(-) diff --git a/src/api/models/strutture-pubbliche-excerpt-res-dto.ts b/src/api/models/strutture-pubbliche-excerpt-res-dto.ts index 8f600e8..816fc25 100644 --- a/src/api/models/strutture-pubbliche-excerpt-res-dto.ts +++ b/src/api/models/strutture-pubbliche-excerpt-res-dto.ts @@ -79,6 +79,11 @@ export interface StrutturePubblicheExcerptResDto { */ stelline: string; + /** + * Tipi della struttura + */ + struttureTipiStrutture?: string | null; + /** * telefono1 della struttura */ diff --git a/src/app/modules/public/strutture-pubbliche/strutture-pubbliche.component.html b/src/app/modules/public/strutture-pubbliche/strutture-pubbliche.component.html index 8f6e74c..478c2ef 100644 --- a/src/app/modules/public/strutture-pubbliche/strutture-pubbliche.component.html +++ b/src/app/modules/public/strutture-pubbliche/strutture-pubbliche.component.html @@ -213,7 +213,7 @@ responsiveLayout="stack" scrollHeight="400px" [rowsPerPageOptions]="[10, 50, 100]" - [globalFilterFields]="['struttura.nome']"> + [globalFilterFields]="['struttura.nome', 'struttura.struttureTipiStrutture']">