inspection extend fixes
This commit is contained in:
parent
b8b2186c58
commit
d5646753f1
4 changed files with 19 additions and 3 deletions
|
@ -68,7 +68,7 @@ export default abstract class DamageReportService {
|
|||
}
|
||||
|
||||
return await query
|
||||
.orderBy("reportedAt", "ASC")
|
||||
.orderBy("damageReport.reportedAt", "ASC")
|
||||
.getManyAndCount()
|
||||
.then((res) => {
|
||||
return res;
|
||||
|
|
|
@ -34,7 +34,7 @@ export default abstract class MaintenanceService {
|
|||
}
|
||||
|
||||
return await query
|
||||
.orderBy("maintenance.type", "ASC")
|
||||
.orderBy("maintenance.createdAt", "ASC")
|
||||
.getManyAndCount()
|
||||
.then((res) => {
|
||||
return res;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue