We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72ca809 + 9aafd7d commit 5e1278dCopy full SHA for 5e1278d
1 file changed
include/functions_map.php
@@ -186,6 +186,9 @@ function osm_get_items($page)
186
// SUBSTRING_INDEX(TRIM(LEADING '.' FROM `path`), '.', 1) full path without filename extension
187
// SUBSTRING_INDEX(TRIM(LEADING '.' FROM `path`), '.', -1) full path with only filename extension
188
189
+
190
+ if (isset($page['image_id'])) $LIMIT_SEARCH .= 'i.id = ' . $page['image_id'] . ' AND ';
191
192
$query="SELECT i.latitude, i.longitude,
193
IFNULL(i.name, '') AS `name`,
194
IF(i.representative_ext IS NULL,
0 commit comments