Ticket #419 (closed Feature Request: fixed)
Config option to hide pagination when only 1 page
| Reported by: | neovive | Owned by: | Geert |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.2 |
| Component: | Libraries | Version: | SVN HEAD |
| Keywords: | pagination | Cc: |
Description
Right now, the pagination library displays '1' when there is only one page in the pagination resultset. In CI, when total_pages was 1, the pagination was no longer displayed. Perhaps, the create_links() method should first test if $this->total_pages > 1 before rendering the pagination links.
Another option would be to add a pagination config option to selectively enable the hiding of results if one page.
Change History
Note: See
TracTickets for help on using
tickets.
