diff --git a/client/src/components/jobs-list/jobs-list.component.jsx b/client/src/components/jobs-list/jobs-list.component.jsx index 189014d37..e28e21901 100644 --- a/client/src/components/jobs-list/jobs-list.component.jsx +++ b/client/src/components/jobs-list/jobs-list.component.jsx @@ -112,7 +112,9 @@ export function JobsList({ bodyshop }) { title: t("jobs.fields.ro_number"), dataIndex: "ro_number", key: "ro_number", - sorter: (a, b) => alphaSort(a.ro_number, b.ro_number), + sorter: (a, b) => + parseInt((a.ro_number || "0").replace(/\D/g, "")) - + parseInt((b.ro_number || "0").replace(/\D/g, "")), sortOrder: state.sortedInfo.columnKey === "ro_number" && state.sortedInfo.order, diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index 274464559..08f5efd37 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -597,7 +597,7 @@ "employee_teams": "Employee Teams", "employees": "Employees", "estimators": "Estimators", - "filehandlers": "File Handlers", + "filehandlers": "Adjusters", "insurancecos": "Insurance Companies", "intakechecklist": "Intake Checklist", "jobstatuses": "Job Statuses", @@ -1304,7 +1304,7 @@ "addtoscoreboard": "Add to Scoreboard", "allocate": "Allocate", "autoallocate": "Auto Allocate", - "changefilehandler": "Change File Handler", + "changefilehandler": "Change Adjuster", "changelaborrate": "Change Labor Rate", "changestatus": "Change Status", "changestimator": "Change Estimator", @@ -1486,10 +1486,10 @@ "ins_co_id": "Insurance Co. ID", "ins_co_nm": "Insurance Company Name", "ins_co_nm_short": "Ins. Co.", - "ins_ct_fn": "File Handler First Name", - "ins_ct_ln": "File Handler Last Name", - "ins_ea": "File Handler Email", - "ins_ph1": "File Handler Phone #", + "ins_ct_fn": "Adjuster First Name", + "ins_ct_ln": "Adjuster Last Name", + "ins_ea": "Adjuster Email", + "ins_ph1": "Adjuster Phone #", "intake": { "label": "Label", "max": "Maximum", @@ -1667,7 +1667,7 @@ "dates": "Dates", "documents": "Recent Documents", "estimator": "Estimator", - "filehandler": "File Handler", + "filehandler": "Adjuster", "insurance": "Insurance Details", "notes": "Notes", "parts": "Parts", diff --git a/client/src/utils/RegisterSw.js b/client/src/utils/RegisterSw.js index 8b2477b8e..213e73552 100644 --- a/client/src/utils/RegisterSw.js +++ b/client/src/utils/RegisterSw.js @@ -11,7 +11,7 @@ const onServiceWorkerUpdate = (registration) => {