]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/details.php
details page: move permalink next to page title
[nominatim.git] / website / details.php
index 9e8d99a43a9b2863cd6b4af5cced90a2590d2e6e..28df6d5f9cdbe71a08fd45dd6a1b2f6fd4bb799c 100755 (executable)
@@ -30,7 +30,7 @@ if ($sOsmType && $iOsmId > 0) {
     if ($sClass) {
         $sSQL .= " AND class='".$sClass."'";
     }
-    $sSQL .= " ORDER BY type='postcode', class ASC";
+    $sSQL .= ' ORDER BY class ASC';
     $sPlaceId = chksql($oDB->getOne($sSQL));
 
     // Be nice about our error messages for broken geometry