mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
Better message for no stock found
This commit is contained in:
parent
1232a6cf17
commit
729968e65d
@ -384,6 +384,9 @@ function loadStockTable(table, options) {
|
|||||||
pagination: true,
|
pagination: true,
|
||||||
pageSize: 25,
|
pageSize: 25,
|
||||||
rememberOrder: true,
|
rememberOrder: true,
|
||||||
|
formatNoMatches: function() {
|
||||||
|
return 'No stock items matching query';
|
||||||
|
},
|
||||||
groupBy: true,
|
groupBy: true,
|
||||||
groupByField: options.groupByField || 'part',
|
groupByField: options.groupByField || 'part',
|
||||||
groupByFormatter: function(field, id, data) {
|
groupByFormatter: function(field, id, data) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user