hi,

i like your module. Is there any way to select the last page by default? I want show the last page of result by default.

thank you.

Comments

mondrake’s picture

H @okdayi, and thanks.

You mean that you'd like that, by default, a page request that is controlled by a pager gets positioned to the last page of the query, instead of the first page of the query?
If that's the question, then I am afraid not, that's controlled by a Drupal core function pager_find_page() which is not overrideable. That is the function that positions the pager to the first page of the query if no 'page' querystring parameter is appended to the URL.

mondrake’s picture

Status: Active » Closed (won't fix)