2
0
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:
Oliver Walters 2019-09-07 20:47:02 +10:00
parent dd5ca32e8e
commit efc08f6824

View File

@ -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/');
} }