]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge remote-tracking branch 'upstream/master'
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 28 Feb 2017 20:41:38 +0000 (21:41 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 28 Feb 2017 20:41:38 +0000 (21:41 +0100)
lib/Geocode.php
lib/template/includes/html-header.php
test/bdd/api/search/queries.feature

index 1f4eebef44611d77d996898ec623a9be75b1e807..537f179c6982bea2ab0dd82f5020f1497e2340f2 100644 (file)
@@ -1738,7 +1738,7 @@ class Geocode
         $aClassType = getClassTypesWithImportance();
         $aRecheckWords = preg_split('/\b[\s,\\-]*/u', $sQuery);
         foreach ($aRecheckWords as $i => $sWord) {
-            if (!preg_match('/\pL/', $sWord)) unset($aRecheckWords[$i]);
+            if (!preg_match('/[\pL\pN]/', $sWord)) unset($aRecheckWords[$i]);
         }
 
         if (CONST_Debug) {
index 405efd7f8439ce1a5f6f1a78abf867adf6dd7700..251e9037a06ed3971ccbc1ce7337c8a55c54c512 100644 (file)
@@ -2,6 +2,7 @@
 <html lang="en">
 <head>
     <title>OpenStreetMap Nominatim: Search</title>
+    <meta content="IE=edge" http-equiv="x-ua-compatible" />
     <meta name="viewport" content="width=device-width, initial-scale=1">
 
     <base href="<?php echo CONST_Website_BaseURL;?>" />
index c9b33701759f63292e0884deb8400cdf6e7c5839..0074e3344fe5301f0523742d190394713be36f75 100644 (file)
@@ -58,7 +58,6 @@ Feature: Search queries
           | 30 |
 
     # https://trac.openstreetmap.org/ticket/5094
-    @Fail
     Scenario: housenumbers are ordered by complete match first
         When sending json search query "6395 geminis, montevideo" with address
         Then result addresses contain