Double the number of documents on index
This commit is contained in:
parent
a6de4fbf10
commit
2727109165
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue