Update page table

This commit is contained in:
Oliver Walters 2019-09-22 21:42:51 +10:00
parent 8eaff6a353
commit df41fafefb

View File

@ -191,16 +191,10 @@ function loadPartTable(table, url, options={}) {
} }
}); });
$(table).bootstrapTable({ inventreeTable(table, {
url: url, url: url,
sortable: true,
search: true,
sortName: 'name', sortName: 'name',
method: 'get', method: 'get',
pagination: true,
pageSize: 50,
pageList: [25, 50, 100, 'all'],
rememberOrder: true,
formatNoMatches: function() { return "No parts found"; }, formatNoMatches: function() { return "No parts found"; },
queryParams: function(p) { queryParams: function(p) {
return query; return query;