mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Update page table
This commit is contained in:
parent
8eaff6a353
commit
df41fafefb
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user