make house number reappear in display name on named POIs

After 6cc6cf950c 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.
This commit is contained in:
Sarah Hoffmann 2020-07-30 23:39:55 +02:00
parent f8e1d39208
commit 4e1f245331

View File

@ -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;