Sort queries by startTime and disable pagination of results
This commit is contained in:
@@ -7,6 +7,8 @@ export default function findEventsOnDay(payload: Payload, day: string): Promise<
|
||||
|
||||
return payload.find({
|
||||
collection: 'events',
|
||||
sort: 'startTime',
|
||||
pagination: false,
|
||||
where: {
|
||||
and: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user