]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #1898 from lonvia/show-housenumber-with-housename
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 31 Jul 2020 08:11:09 +0000 (10:11 +0200)
committerGitHub <noreply@github.com>
Fri, 31 Jul 2020 08:11:09 +0000 (10:11 +0200)
make house number reappear in display name on named POIs

sql/functions/address_lookup.sql

index 55fa23f277c175085d4befa6b117386578e40cd7..42c015bfd28d3d1fedb77e907740cab9ccf7d867 100644 (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;