mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-09 18:37:50 +00:00
Add order sorting for sales order allocation tables (#12468)
This commit is contained in:
1 parent
2a24dcfad9
commit
1bc758624e
2 files changed
+3
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user