Add marker sorting
This commit is contained in:
1 parent
7f79125495
commit
685c9ae1d4
2 files changed
+7
-2
No files matched your search
@@ -107,7 +107,8 @@ class MarkersLayerMapper extends AbstractLayerMapper implements GeoJsonMapper
|
||||
{
|
||||
$collection = MarkerModel::findBy(
|
||||
array('active=1', 'pid=?'),
|
||||
array($model->id)
|
||||
array($model->id),
|
||||
array('order' => 'sorting')
|
||||
);
|
||||
|
||||
return $collection;
|
||||
|
||||
Reference in new issue
Block a user