From: Sarah Hoffmann Date: Thu, 30 Jul 2020 21:39:55 +0000 (+0200) Subject: make house number reappear in display name on named POIs X-Git-Tag: v3.6.0~103^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/4e1f2453318b0e4548c4ec0bfb74b183fc47ee7f make house number reappear in display name on named POIs After 6cc6cf950c3c08103e6159a079c85b5a4f1c09fa names and house numbers of POIS got mingled into a single item when creating the display name. Add the house number as extra information without place_id to avoid later mangling. --- diff --git a/sql/functions/address_lookup.sql b/sql/functions/address_lookup.sql index 55fa23f2..42c015bf 100644 --- a/sql/functions/address_lookup.sql +++ b/sql/functions/address_lookup.sql @@ -272,7 +272,7 @@ BEGIN END IF; IF searchhousenumber IS NOT NULL THEN - location := ROW(in_place_id, null, null, hstore('ref', searchhousenumber), + location := ROW(null, null, null, hstore('ref', searchhousenumber), 'place', 'house_number', null, null, true, true, 28, 0)::addressline; RETURN NEXT location; END IF;