Sort queries by startTime and disable pagination of results

This commit is contained in:
2022-07-22 19:47:52 +00:00
parent 70a971c3b9
commit 53dfc26b88
2 changed files with 5 additions and 1 deletions

View File

@@ -7,6 +7,8 @@ export default function findEventsOnDay(payload: Payload, day: string): Promise<
return payload.find({
collection: 'events',
sort: 'startTime',
pagination: false,
where: {
and: [
{