mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 05:25:42 +00:00
Adds "stock" column sorting for stock table
This commit is contained in:
@ -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