From efc08f6824ff02af8bc25640d661bcfcf425ec38 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 7 Sep 2019 20:47:02 +1000 Subject: [PATCH] Improve table sorting for company list --- InvenTree/company/templates/company/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/InvenTree/company/templates/company/index.html b/InvenTree/company/templates/company/index.html index d4193960d3..17b737b670 100644 --- a/InvenTree/company/templates/company/index.html +++ b/InvenTree/company/templates/company/index.html @@ -55,6 +55,7 @@ InvenTree | Supplier List { field: 'description', title: 'Description', + sortable: true, }, { field: 'website', @@ -69,6 +70,7 @@ InvenTree | Supplier List { field: 'part_count', title: 'Parts', + sortable: true, formatter: function(value, row, index, field) { return renderLink(value, row.url + 'parts/'); }