It would be very usefull if someone (like me) wanted to supply paging with additional information.

Use case:
Comments pages with pages named in [first_comment_number last_comment_number] format.
Paging e.g. "previous [1-10] [11-20] [21] next"

If user changes sort order, he, naturally would expect paging change to such
"previous [21-12] [11-2] [1] next"

Currently to implement that I use _comment_get_display_setting('sort')

Comments

merlinofchaos’s picture

I think you may've misfiled this; this looks like you're talking about Drupal's core pager, but this project is paging.module which allows you to break up a single node into multiple pages. It doesn't do comment paging.

Gurpartap Singh’s picture

Project: Paging » Drupal core
Version: 4.7.x-1.x-dev » 6.x-dev
Component: Code » node system

Thanks merlin! Changing project for this issue.

Pasqualle’s picture

Version: 6.x-dev » 7.x-dev
cafuego’s picture

Having the 'Next' link suddenly start counting down seems like pretty bad usability to me.

The pager counts through pages of content as requested by the user, if the user changes their request, it would make far more sense to me if the pager would jump back to the first page of output if the sort order changes, rather than change its page link ordering.