From d28cb221da1f027febf38fb7624613b1fa2a194a Mon Sep 17 00:00:00 2001 From: mirdono Date: Mon, 22 Apr 2024 16:58:42 +0200 Subject: [PATCH] refactor: renamed units index to organizations Soon we want to introduce (additional) non-administrative unit organizations. This renaming makes it more clear this index is not limited to administrative units, both here as where it is used in the frontend. Note, technically the 'units' name was already incorrect as a 'Representatief orgaan' is not an administrative unit. --- config/search/config.json | 4 ++-- config/search/dev/config.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/search/config.json b/config/search/config.json index afecb61..92f6b83 100644 --- a/config/search/config.json +++ b/config/search/config.json @@ -754,8 +754,8 @@ } }, { - "type": "unit", - "on_path": "units", + "type": "organization", + "on_path": "organization", "rdf_type": [ "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid", "http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid", diff --git a/config/search/dev/config.json b/config/search/dev/config.json index 53a4f19..50cba1f 100644 --- a/config/search/dev/config.json +++ b/config/search/dev/config.json @@ -727,8 +727,8 @@ } }, { - "type": "unit", - "on_path": "units", + "type": "organization", + "on_path": "organizations", "rdf_type": [ "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid", "http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid",