Posted by chawl on March 14, 2011 at 6:08pm
2 followers
Jump to:
| Project: | Pagination (Node) |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | major |
| Assigned: | Unassigned |
| Status: | closed (cannot reproduce) |
Issue Summary
Hello,
Though pager obeys 1 or 0 based setting, TOC always sticks to 1.
How about changing line 658 of pagination.module to:
'query' => (variable_get('pagination_onebased', 1) ? ($page-1 ? 'page=' . $page :'') : ($page-1 ? 'page=' . ($page-1) : '')),Hack seems little nasty, but works.
Tx.
Comments
#1
Hmm can't seem to reproduce this, let me know if you're still seeing this?