fix(preset): added order by start_time
This commit is contained in:
parent
e96cb91304
commit
6f3acde71b
|
|
@ -18,7 +18,7 @@ export class SchedulePresetsGetService {
|
||||||
orderBy: [{ is_default: 'desc' }, { name: 'asc' }],
|
orderBy: [{ is_default: 'desc' }, { name: 'asc' }],
|
||||||
include: {
|
include: {
|
||||||
shifts: {
|
shifts: {
|
||||||
orderBy: [{ week_day: 'asc' }],
|
orderBy: [{ week_day: 'asc', start_time: 'asc' }],
|
||||||
include: { bank_code: { select: { type: true } } },
|
include: { bank_code: { select: { type: true } } },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user