Add order sorting for sales order allocation tables (#12468)

This commit is contained in:
Oliver
2026-07-26 18:49:44 +10:00
committed by GitHub
parent 2a24dcfad9
commit 1bc758624e
2 changed files with 3 additions and 0 deletions
@@ -42,6 +42,8 @@ export default function PartSalesAllocationsTable({
accessor: 'order',
title: t`Sales Order`,
switchable: false,
sortable: true,
ordering: 'order',
render: (record: any) => (
<Group wrap='nowrap' gap='xs'>
<RowExpansionIcon
@@ -110,6 +110,7 @@ export default function SalesOrderAllocationTable({
return [
ReferenceColumn({
accessor: 'order_detail.reference',
ordering: 'order',
title: t`Sales Order`,
switchable: false,
sortable: true,