diff --git a/app/controllers/documents_controller.php b/app/controllers/documents_controller.php index bd47c0fe..c784698f 100755 --- a/app/controllers/documents_controller.php +++ b/app/controllers/documents_controller.php @@ -18,7 +18,7 @@ class DocumentsController extends AppController { //$this->set('documents', $this->paginate()); //print_r$($this->params["named"]["page"]); - $query = "SELECT id,type,created,user_id,doc_page_count, pdf_filename,pdf_created_at, pdf_created_by_user_id FROM documents As Document ORDER BY id DESC LIMIT 500;"; + $query = "SELECT id,type,created,user_id,doc_page_count, pdf_filename,pdf_created_at, pdf_created_by_user_id FROM documents As Document ORDER BY id DESC LIMIT 1000;"; $this->set('documents', $this->Document->query($query)); $this->set('users', $this->Document->User->getUsersList());