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

This commit is contained in:
David Molineus
2019-02-13 12:06:30 +01:00
parent ac05d103f1
commit d42e0e122f
2 changed files with 6 additions and 0 deletions

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()