2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Add option to display ALL results in a paginated table

- Commonize the number of pages allowed
This commit is contained in:
Oliver Walters
2019-09-19 23:20:42 +10:00
parent 45a321694b
commit cf2abb4130
8 changed files with 15 additions and 6 deletions

View File

@ -140,7 +140,8 @@ InvenTree | Search Results
search: "{{ query }}",
},
pagination: true,
pageSize: 25,
pageSize: 50,
pageList: [25, 50, 100, 'all'],
search: true,
columns: [
{
@ -163,7 +164,8 @@ InvenTree | Search Results
search: "{{ query }}",
},
pagination: true,
pageSize: 25,
pageSize: 50,
pageList: [25, 50, 100, 'all'],
search: true,
columns: [
{

View File

@ -27,7 +27,8 @@
sortable: true,
search: true,
pagination: true,
pageSize: 25,
pageSize: 50,
pageList: [25, 50, 100, 'all'],
formatNoMatches: function() { return "No currencies found"; },
rowStyle: function(row, index) {
if (row.base) {

View File

@ -27,7 +27,8 @@
sortable: true,
search: true,
pagination: true,
pageSize: 25,
pageSize: 50,
pageList: [25, 50, 100, 'all'],
formatNoMatches: function() { return "No part parameter templates found"; },
columns: [
{