Display most recent (#2529)
This commit is contained in:
parent
6d5af81f68
commit
d2d3c67144
1 changed files with 2 additions and 2 deletions
|
@ -345,8 +345,8 @@ const loggedInViewerRouter = createProtectedRouter()
|
||||||
Prisma.BookingOrderByWithAggregationInput
|
Prisma.BookingOrderByWithAggregationInput
|
||||||
> = {
|
> = {
|
||||||
upcoming: { startTime: "asc" },
|
upcoming: { startTime: "asc" },
|
||||||
past: { startTime: "asc" },
|
past: { startTime: "desc" },
|
||||||
cancelled: { startTime: "asc" },
|
cancelled: { startTime: "desc" },
|
||||||
};
|
};
|
||||||
const passedBookingsFilter = bookingListingFilters[bookingListingByStatus];
|
const passedBookingsFilter = bookingListingFilters[bookingListingByStatus];
|
||||||
const orderBy = bookingListingOrderby[bookingListingByStatus];
|
const orderBy = bookingListingOrderby[bookingListingByStatus];
|
||||||
|
|
Loading…
Reference in a new issue