Change attachment index pagination limit so it doesn't time out

This commit is contained in:
Karl Cordes 2019-04-23 18:59:27 +10:00
parent 8b1244a548
commit c153eb122c
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
* In production mode, flash messages redirect after a time interval.
* In development mode, you need to click the flash message to continue.
*/
Configure::write('debug', 0);
Configure::write('debug', 1);
Configure::write('version', '1.0.1');

View file

@ -7,7 +7,7 @@ class AttachmentsController extends AppController {
var $paginate = array(
'limit' => 5000,
'limit' => 500,
'order' => array(
array('Principle.short_name' => 'asc'),
array('Attachment.name' => 'asc')