Skip to content

[FRONT] Fix advanced search : add type collectivite GRP#480

Merged
jb-delafosse merged 3 commits intomainfrom
fix-advanced-search
Dec 12, 2025
Merged

[FRONT] Fix advanced search : add type collectivite GRP#480
jb-delafosse merged 3 commits intomainfrom
fix-advanced-search

Conversation

@AntoineQuesnel
Copy link
Collaborator

Ajout d'un nouveau type de collectivité : Groupement

Il y a l'air d'avoir eu une mise à jour. La répartition de la table collectivité par type donne ça maintenant. Il y a beaucoup moins de diversité. Je me suis contenté d'ajouter le nouveau type.
97 DEP
34823 COM
17 REG
1266 GRP

@github-actions
Copy link
Contributor

github-actions bot commented Dec 12, 2025

✅ Review app deployed

Check how your changes look like!

ℹ️ Name 🔗 Infos & links
🌱 Latest deployed commit ef81436
👁️ Preview https://13_eclaireur_public-PR-480.cleverapps.io

@@ -194,6 +194,7 @@ export function stringifyCommunityType(type: CommunityType): string {
if (type === CommunityType.EPT) return 'Établissement public territorial';
if (type === CommunityType.Metropole) return 'Groupement';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Peut être supprimé : on ne retounera jamais "MET, CTU, CA, CC et EPT", toutes ces subtilités sont dans une seule catégorie GRP pour groupement.

Si on fait un peu l'historique :

/** Etablissement public territorial */
EPT = 'EPT',
/** Groupement */
GRP = 'GRP',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idem tu peux supprimer les types pas utilisé imo.

Copy link
Collaborator

@jb-delafosse jb-delafosse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Job ! App is back on !

@jb-delafosse jb-delafosse merged commit 4f94077 into main Dec 12, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants