fix order of past bookings (#2425)
This commit is contained in:
parent
c63d81719b
commit
385421d250
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ const loggedInViewerRouter = createProtectedRouter()
|
||||||
Prisma.BookingOrderByWithAggregationInput
|
Prisma.BookingOrderByWithAggregationInput
|
||||||
> = {
|
> = {
|
||||||
upcoming: { startTime: "asc" },
|
upcoming: { startTime: "asc" },
|
||||||
past: { startTime: "desc" },
|
past: { startTime: "asc" },
|
||||||
cancelled: { startTime: "asc" },
|
cancelled: { startTime: "asc" },
|
||||||
};
|
};
|
||||||
const passedBookingsFilter = bookingListingFilters[bookingListingByStatus];
|
const passedBookingsFilter = bookingListingFilters[bookingListingByStatus];
|
||||||
|
|
Loading…
Reference in a new issue