]> git.openstreetmap.org Git - nominatim.git/commitdiff
over tokenising 'la'
authorBrian Quinion <openstreetmap@brian.quinion.co.uk>
Tue, 7 Jun 2011 12:31:46 +0000 (12:31 +0000)
committerBrian Quinion <openstreetmap@brian.quinion.co.uk>
Tue, 7 Jun 2011 12:31:46 +0000 (12:31 +0000)
website/search.php

index 4803599837843d5fb4f0598ff257b1dbf0c544fb..0de922f990a2f549452bc213bcf49fa1d0912f9d 100755 (executable)
                        $sQuery = preg_replace('/\\bil\\b/','illinois', $sQuery);
                        $sQuery = preg_replace('/\\bal\\b/','alabama', $sQuery);
                        $sQuery = preg_replace('/\\bla\\b/','louisiana', $sQuery);
+                       $sQuery = preg_replace('/\\bde louisiana\\b/','de la', $sQuery);
                }
 
                // If we have a view box create the SQL