Commit a4b03000 authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix issues with event list api request

parent 2c72811b
......@@ -131,7 +131,10 @@ export default class EventList extends FilteredListPage {
if (query.$and.length === 0) {
delete query.$and;
}
return controller.setQuery({ where: query, sort: '-time_start,-time_advertising_start' });
return controller.setQuery({
where: query,
sort: ['-time_start', '-time_advertising_start'],
});
},
};
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment