Change attachment index pagination limit so it doesn't time out
This commit is contained in:
parent
8b1244a548
commit
c153eb122c
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue