fix order of past bookings (#2425)
parent
c63d81719b
commit
385421d250
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue