From c111a9b897c9d83751b5257c81eba73c9f24b5ee 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 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. You can also: - check some biblios from several pages - add them to the cart - add them to a list Signed-off-by: Cedric Vita Signed-off-by: Koha Team Amu Signed-off-by: Kyle M Hall Signed-off-by: Marcel de Rooy Signed-off-by: Nicolas Legrand Signed-off-by: Josef Moravec --- .../bootstrap/en/includes/opac-bottom.inc | 3 + .../bootstrap/en/includes/page-numbers.inc | 6 +- .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 62 ++++++++++--------- .../opac-tmpl/bootstrap/en/modules/opac-results.tt | 54 ++++++++++++++++- koha-tmpl/opac-tmpl/bootstrap/js/basket.js | 42 +++++++++---- koha-tmpl/opac-tmpl/bootstrap/js/commons.js | 69 ++++++++++++++++++++++ opac/opac-detail.pl | 20 ++++++- 7 files changed, 206 insertions(+), 50 deletions(-) create mode 100644 koha-tmpl/opac-tmpl/bootstrap/js/commons.js diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc index 8346691..313b66c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc @@ -85,6 +85,8 @@ $.widget.bridge('uitooltip', $.ui.tooltip); + +