Setting for items in number of records per table page menu

This commit is contained in:
Oliver Gorwits
2014-09-15 23:41:44 +01:00
parent b63cd0b643
commit fb365f1203
5 changed files with 42 additions and 1 deletions

View File

@@ -82,6 +82,17 @@ jobqueue_refresh: 10
safe_password_store: true
reports: []
table_pagesize: 10
table_showrecordsmenu:
- - 10
- 25
- 50
- 100
- '-1'
- - 10
- 25
- 50
- 100
- 'All'
# -------------
# NETDISCO CORE

View File

@@ -2,7 +2,7 @@
"processing": true,
"stateSave": true,
"pageLength": [% settings.table_pagesize %],
"lengthMenu": [ [10, 25, 50, 100, -1], [10, 25, 50, 100, "All"] ],
"lengthMenu": [% table_showrecordsmenu %],
"dom": '<"top"l<"nd_datatables-pager"p>f>rt<"bottom"><"clear">',
"language": {
"search": '_INPUT_',