Add marker sorting

This commit is contained in:
David Molineus committed 2015-01-08 15:29:07 +01:00
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;