Pagination in Users index
Closed this issue · 2 comments
useahawk commented
I was missing pagination in Users index on a system with more then 10 users.
Changed line 25 in View/Users/index.ctp to
<div class="span6 pagination">
<ul>
<?php echo $this->Paginator->prev('<<', array('tag' => 'li', 'disabledTag' => 'span'), null, array()); ?>
<?php echo $this->Paginator->numbers(array('tag' => 'li', 'separator' => '', 'currentTag' => 'span', 'first' => 2, 'last' => 2, 'modulus' => 20, 'ellipsis' => '<li><span>...</span></li>')); ?>
<?php echo $this->Paginator->next('>>', array('tag' => 'li', 'disabledTag' => 'span'), null, array()); ?>
</ul>
</div>
Just a possible solution.
midorikocak commented
can you make a pull request?
midorikocak commented
pulled