]> git.koha-community.org Git - koha.git/commit
Bug 6483 - Paging in opac-detail when coming from a search
authorSalvador Zaragoza Rubio <salvazm@masmedios.com>
Fri, 27 May 2011 09:12:52 +0000 (11:12 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 20 Oct 2011 15:57:09 +0000 (04:57 +1300)
commit4a2a95cc254f0ed1d5fcd6ea7084a5b08ef04952
treef181acea38325104fd0e75256093d017b9ca68d6
parent906ef4b28c376254743f948808e8ae47bb6f0a01
Bug 6483 - Paging in opac-detail when coming from a search

Add paging in opac-detail when coming from a search to be
able to continue viewing the previous and next register
from the detail without returning to the results.
The partial list pagination can be showed to increase forwarding
or rewinding in the pagination.
It's implemented for Zebra search and not build_grouped_results.

The param busc with all the information from the search is stored
on the session when running opac-search and opac-detail, outside these
pages the busc param is removed from the session.

A list of the biblionumbers inside the OPACnumSearchResults range
is passed to avoid repeating the searching everytime we see the
previous or next biblio. The searching will be run again when
we are going to exceed the list and a new one will be calculated
from the new search.

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Auth.pm [changed mode: 0644->0755]
koha-tmpl/opac-tmpl/prog/en/css/opac.css [changed mode: 0644->0755]
koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc [changed mode: 0644->0755]
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt [changed mode: 0644->0755]
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt [changed mode: 0644->0755]
koha-tmpl/opac-tmpl/prog/images/ico_b_results.gif [new file with mode: 0644]
opac/opac-detail.pl
opac/opac-search.pl