mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-23 16:26:17 +00:00
Improve table sorting for company list
This commit is contained in:
1 parent
dd5ca32e8e
commit
efc08f6824
1 file changed
+2
@@ -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/');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user