]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix typo
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 31 Mar 2020 17:53:55 +0000 (19:53 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 31 Mar 2020 17:53:55 +0000 (19:53 +0200)
Fixes #1730

sql/functions/address_lookup.sql

index ec323b6e9028e79903faf57a6541dc3fa9692c10..9a4c630ca14b224729b9de575fbc921080fae1d1 100644 (file)
@@ -277,7 +277,7 @@ BEGIN
 
   IF searchpostcode IS NOT NULL THEN
     location := ROW(null, null, null, hstore('ref', searchpostcode), 'place',
-                    'postcodes', null, null, false, true, 5, 0)::addressline;
+                    'postcode', null, null, false, true, 5, 0)::addressline;
     RETURN NEXT location;
   END IF;