Skip to content
Snippets Groups Projects
Commit 9820ee82 authored by Owen Bush's avatar Owen Bush
Browse files

Order event instances by their start date ascending

parent e5414d64
No related branches found
No related tags found
No related merge requests found
...@@ -143,7 +143,7 @@ class EventInstanceListBuilder extends EntityListBuilder { ...@@ -143,7 +143,7 @@ class EventInstanceListBuilder extends EntityListBuilder {
*/ */
protected function getEntityIds() { protected function getEntityIds() {
$query = $this->getStorage()->getQuery() $query = $this->getStorage()->getQuery()
->sort('changed', 'DESC'); ->sort('date__value', 'ASC');
// Only add the pager if a limit is specified. // Only add the pager if a limit is specified.
if ($this->limit) { if ($this->limit) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment