mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 19:13:55 +01:00
Fix order changes in layer control element aren't applied (#72).
This commit is contained in:
@@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fix ordering changes in layer control element aren't recognized ([#72](https://github.com/netzmacht/contao-leaflet-maps/issues/72))
|
||||||
|
|
||||||
## [3.1.3] - 2019-01-10
|
## [3.1.3] - 2019-01-10
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ SELECT l.*, c.mode as controlMode
|
|||||||
FROM tl_leaflet_layer l
|
FROM tl_leaflet_layer l
|
||||||
LEFT JOIN tl_leaflet_control_layer c ON l.id = c.lid
|
LEFT JOIN tl_leaflet_control_layer c ON l.id = c.lid
|
||||||
WHERE c.cid=?
|
WHERE c.cid=?
|
||||||
|
ORDER BY c.sorting
|
||||||
SQL;
|
SQL;
|
||||||
|
|
||||||
$result = Database::getInstance()
|
$result = Database::getInstance()
|
||||||
@@ -67,6 +68,7 @@ FROM tl_leaflet_layer l
|
|||||||
LEFT JOIN tl_leaflet_control_layer
|
LEFT JOIN tl_leaflet_control_layer
|
||||||
c ON l.id = c.lid
|
c ON l.id = c.lid
|
||||||
WHERE c.cid=? AND l.active=1
|
WHERE c.cid=? AND l.active=1
|
||||||
|
ORDER BY c.sorting
|
||||||
SQL;
|
SQL;
|
||||||
|
|
||||||
$result = Database::getInstance()
|
$result = Database::getInstance()
|
||||||
|
|||||||
Reference in New Issue
Block a user