Koha-clms/koha-tmpl
Jonathan Druart 044237c121
Bug 41992: Do not restore pagination offset
When "Save configuration state on page change" is enabled, the page
number is kept in localStorage and restored.

To prevent that we can set the attribute "start" of the state to 0.

Test plan:
Go on a page with several pages, go to another page than the first one
Go the another view and get back
Without this patch the last visited page was preserved when returning to the previous view
With this patch applied the view now defaults to the first page

Note that this does not affect shareable links.

Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 91f2e47f49)
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
2026-07-29 15:57:07 +00:00
..
intranet-tmpl Bug 41992: Do not restore pagination offset 2026-07-29 15:57:07 +00:00
opac-tmpl Bug 42229: (follow-up) Restore card number <label> when necessary 2026-07-29 15:12:55 +00:00