mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-03 13:58:47 +00:00
Improve table sorting for company list
This commit is contained in:
parent
dd5ca32e8e
commit
efc08f6824
@ -55,6 +55,7 @@ InvenTree | Supplier List
|
|||||||
{
|
{
|
||||||
field: 'description',
|
field: 'description',
|
||||||
title: 'Description',
|
title: 'Description',
|
||||||
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'website',
|
field: 'website',
|
||||||
@ -69,6 +70,7 @@ InvenTree | Supplier List
|
|||||||
{
|
{
|
||||||
field: 'part_count',
|
field: 'part_count',
|
||||||
title: 'Parts',
|
title: 'Parts',
|
||||||
|
sortable: true,
|
||||||
formatter: function(value, row, index, field) {
|
formatter: function(value, row, index, field) {
|
||||||
return renderLink(value, row.url + 'parts/');
|
return renderLink(value, row.url + 'parts/');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user