From 7f6140a156842fcbbd7c889ce76ef4c5f6df513b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 14 Nov 2012 17:05:45 +0100 Subject: [PATCH] Bug 10858: Browse selected biblios Content-Type: text/plain; charset=utf-8 After launching a search, some people would like to browse some results from several pages. This patch adds, at the OPAC, a link "Browse selected biblios >>" when at least one biblio is checked. You can choose biblios from several page, not the current one. In this way, checkboxes already checked become again checked when you come back on this results page. After clicking the link, the "Browse results" block is filled with selected biblios, not (like as the current behavior) with the classic results. Test plan: - Launch a search at the OPAC - Check some biblios - Go on another page - Check some biblios - Come back to the first page and check that already checked biblio is automatically checked. - Click on the "Browse selected biblios >>" link - Check that you are able to browse results you had checked. Signed-off-by: Cedric Vita Signed-off-by: Koha Team Amu Signed-off-by: Kyle M Hall Signed-off-by: Marcel de Rooy --- .../opac-tmpl/ccsr/en/includes/doc-head-close.inc | 2 + .../opac-tmpl/prog/en/includes/doc-head-close.inc | 2 + koha-tmpl/opac-tmpl/prog/en/js/commons.js | 71 ++++++++++++++++++++ .../en/lib/jquery/plugins/jquery.cookie.min.js | 1 + koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 17 +++-- .../opac-tmpl/prog/en/modules/opac-results.tt | 48 +++++++++++++ opac/opac-detail.pl | 21 +++++- 7 files changed, 154 insertions(+), 8 deletions(-) create mode 100644 koha-tmpl/opac-tmpl/prog/en/js/commons.js create mode 100644 koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/jquery.cookie.min.js diff --git a/koha-tmpl/opac-tmpl/ccsr/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/ccsr/en/includes/doc-head-close.inc index af6e886..de1a724 100644 --- a/koha-tmpl/opac-tmpl/ccsr/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/ccsr/en/includes/doc-head-close.inc @@ -39,6 +39,8 @@ + + [% IF ( OPACAmazonCoverImages ) %] diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc index 66666f4..5adae58 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc @@ -35,6 +35,8 @@ + + [% IF ( OPACAmazonCoverImages ) %]