array_reverse() added to sort events by day.

This commit is contained in:
Alexey Skobkin 2017-01-10 04:30:53 +03:00
parent 60fe8cfc18
commit b229a3a8b8

View file

@ -121,6 +121,8 @@ class SubscriptionEventRepository extends EntityRepository
$result[] = reset($row); $result[] = reset($row);
} }
$result = array_reverse($result);
return $result; return $result;
} }
} }