From 22ace529668400352a52c947ee168836daaaf719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Cl=C3=A4usen?= <5286659+ltclm@users.noreply.github.com> Date: Thu, 1 Feb 2024 10:20:50 +0100 Subject: [PATCH] fix failing e2e tests on feature search Due to the migration of ch.swisstopo.lubis-luftbilder_farbe to stac the sphinx search index did not contain the old ebkey anymore. this fix will add the old ebkey to the index as legacy measure. --- conf/lubis.conf.part | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/lubis.conf.part b/conf/lubis.conf.part index 51a7349..6478578 100644 --- a/conf/lubis.conf.part +++ b/conf/lubis.conf.part @@ -45,7 +45,7 @@ source src_ch_swisstopo_lubis_luftbilder_farbe : def_searchable_features_with_ye SELECT row_number() OVER(ORDER BY ebkey asc) as id \ , concat(flugdatum, ' ', bildnummer, ' (', concat_ws(', ', ort, ebkey), ')' ) as label \ , 'feature' as origin \ - , remove_accents(concat_ws(' ', ebkey, ort)) as detail \ + , remove_accents(concat_ws(' ', ebkey, ort, ebkey_old)) as detail \ , 'ch.swisstopo.lubis-luftbilder_farbe' as layer \ , bgdi_quadindex as geom_quadindex \ , st_y(st_transform(st_centroid(the_geom),4326)) as lat \