IO-2384 Extend to Vehicle Related ROs

This commit is contained in:
Allan Carr
2023-08-17 16:18:56 -07:00
parent 6c1a0cff8d
commit 10fceb7ddf
4 changed files with 26 additions and 5 deletions

View File

@@ -67,7 +67,7 @@ function OwnerDetailJobsComponent({ bodyshop, owner }) {
title: t("jobs.fields.status"),
dataIndex: "status",
key: "status",
sorter: (a, b) => statusSort(a.status, b.status),
sorter: (a, b) => statusSort(a.status, b.status, bodyshop.md_ro_statuses.statuses),
sortOrder:
state.sortedInfo.columnKey === "status" && state.sortedInfo.order,
},