return place_id link to details when not an OSM object

Stop-gap solution to find the right object for Tiger and
interpolation objects.
This commit is contained in:
Sarah Hoffmann
2020-02-09 15:45:38 +01:00
parent 3737712044
commit 57ae3d03a1
2 changed files with 58 additions and 1 deletions

View File

@@ -48,5 +48,5 @@ function detailsPermaLink($aFeature, $sRefText = false)
$sLabel = $sRefText ? $sRefText : $sOSMType.' '.$aFeature['osm_id'];
return '<a href="details.php?osmtype='.$aFeature['osm_type'].'&osmid='.$aFeature['osm_id'].'&class='.$aFeature['class'].'">'.$sLabel.'</a>';
}
return '';
return detailsLink($aFeature, $sRefText);
}