mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-21 15:35:16 +00:00
Adds "stock" column sorting for stock table
This commit is contained in:
1 parent
ab32ab0b3b
commit
85b906f49d
2 files changed
+4
No files matched your search
@@ -1128,7 +1128,9 @@ function loadStockTable(table, options) {
|
||||
|
||||
col = {
|
||||
field: 'quantity',
|
||||
sortName: 'stock',
|
||||
title: '{% trans "Stock" %}',
|
||||
sortable: true,
|
||||
formatter: function(value, row) {
|
||||
|
||||
var val = parseFloat(value);
|
||||
|
||||
Reference in new issue
Block a user