fix order of past bookings (#2425)

pull/2433/head^2
Agusti Fernandez 2022-04-08 13:50:00 +02:00 committed by GitHub
parent c63d81719b
commit 385421d250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ const loggedInViewerRouter = createProtectedRouter()
Prisma.BookingOrderByWithAggregationInput
> = {
upcoming: { startTime: "asc" },
past: { startTime: "desc" },
past: { startTime: "asc" },
cancelled: { startTime: "asc" },
};
const passedBookingsFilter = bookingListingFilters[bookingListingByStatus];