Fix order changes in layer control element aren't applied (#72).

This commit is contained in:
David Molineus committed 2019-02-13 12:06:30 +01:00
1 parent ac05d103f1
commit d42e0e122f
2 files changed
+6

No files matched your search

+2
View File
@@ -41,6 +41,7 @@ SELECT l.*, c.mode as controlMode
FROM tl_leaflet_layer l
LEFT JOIN tl_leaflet_control_layer c ON l.id = c.lid
WHERE c.cid=?
ORDER BY c.sorting
SQL;
$result = Database::getInstance()
@@ -67,6 +68,7 @@ FROM tl_leaflet_layer l
LEFT JOIN tl_leaflet_control_layer
c ON l.id = c.lid
WHERE c.cid=? AND l.active=1
ORDER BY c.sorting
SQL;
$result = Database::getInstance()