mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Bug fix for sorting of sales orders
This commit is contained in:
parent
558ea98fa1
commit
339a02a6b2
@ -362,8 +362,9 @@ class SOList(generics.ListCreateAPIView):
|
||||
|
||||
ordering_fields = [
|
||||
'creation_date',
|
||||
'reference'
|
||||
'reference',
|
||||
'customer__name',
|
||||
'customer_reference',
|
||||
'status',
|
||||
'target_date',
|
||||
'line_items',
|
||||
|
@ -270,6 +270,7 @@ function loadSalesOrderTable(table, options) {
|
||||
}
|
||||
},
|
||||
{
|
||||
sortable: true,
|
||||
field: 'customer_reference',
|
||||
title: '{% trans "Customer Reference" %}',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user