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
1 changed files with 2 additions and 0 deletions

View File

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