Clean Pagination uses the same format as Drupal, that is it counts the first page as 0 (or nothing), the second as 1, and so on. I modified to follow this pattern. Nothing major, a very quick fix. I changed only 3 lines (if I recall correctly!) tagged with comments: "//drupal pattern" . Anyway, it works with Clean Pagination, which would otherwise cause pagers 1 and 2 to link to page 1, pager 3 link to page 2 and so on. The table of contents is also fixed, but the urls generated are not affected by Clean Pagination and thus they are returned as ?page=. Just replace in pagination/includes with this file (after you rename it to

Pagination.txt10.55 KBtterranigma


mundanity’s picture

Status:Active» Closed (works as designed)

The 6.x version of pagination has an option for 1 based paging, but I made it default in 7.x. If there's enough interest I may re-visit it, but for now I think I'm going to leave it as is.