fix(orders): update default sorting order for orders
- Changed the default sorting order for orders from 'datetime_start:asc' to 'datetime_start:desc' to ensure the most recent orders are displayed first, improving the user experience in order management.
This commit is contained in:
parent
2067beb05a
commit
73dd674815
@ -39,7 +39,7 @@ export const ERRORS = {
|
||||
SLOT_CLOSED: 'Слот закрыт',
|
||||
};
|
||||
|
||||
const DEFAULT_ORDERS_SORT = ['slot.datetime_start:desc', 'datetime_start:asc'];
|
||||
const DEFAULT_ORDERS_SORT = ['slot.datetime_start:desc', 'datetime_start:desc'];
|
||||
|
||||
export class OrdersService extends BaseService {
|
||||
async createOrder(variables: VariablesOf<typeof GQL.CreateOrderDocument>) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user