mirror of
https://github.com/filegator/filegator.git
synced 2025-08-06 19:06:34 +02:00
Make pagination configurable in configuration (#533)
* Make pagination configurable in configuration * Set pagination defaults in store * Add documentation of pagination
This commit is contained in:
committed by
GitHub
parent
08ee98ed8b
commit
ff0c247992
@@ -31,6 +31,10 @@ Note: if you've made a mistake in configuration file (forgot to close a quote?)
|
||||
// neither of above => it is a file and could be in every folder, example: '.htaccess'
|
||||
// both of above => full folder path has to match, example: '/homes/web/filegator/.npm/'
|
||||
'filter_entries' => ['Recycle.bin/', 'File System Information/', '.DS_Store', '@eaDir/', '#recycle/'],
|
||||
|
||||
// Use '' for the unlimited pagination and integers for the items per page. The first item is used as the
|
||||
// default pagination and the choices are ordered by the order in the array.
|
||||
'pagination' => ['', 5, 10, 15],
|
||||
],
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user