From f94d4526e587f41aa6b7ffb1032619b95c0d598b Mon Sep 17 00:00:00 2001 From: simith Date: Fri, 21 Nov 2014 15:17:57 -0500 Subject: [PATCH] Bug 13307: Create a link to the last advanced search in search result page (OPAC) http://bugs.koha-community.org/show_bug.cgi?id=13307 Followed test plan, works as expected (together with other patches) Signed-off-by: Marc Veron Signed-off-by: Kyle M Hall http://bugs.koha-community.org/show_bug.cgi?id=13364 Signed-off-by: Tomas Cohen Arazi --- .../bootstrap/en/includes/opac-bottom.inc | 15 +++++ .../bootstrap/en/modules/opac-advsearch.tt | 62 +++++++++++++++++-- .../bootstrap/en/modules/opac-results.tt | 13 +++- .../lib/jquery/plugins/jquery.cookie.min.js | 2 + .../jquery/plugins/jquery.deserialize.min.js | 8 +++ opac/opac-search.pl | 21 +++++++ 6 files changed, 114 insertions(+), 7 deletions(-) create mode 100644 koha-tmpl/opac-tmpl/bootstrap/lib/jquery/plugins/jquery.cookie.min.js create mode 100644 koha-tmpl/opac-tmpl/bootstrap/lib/jquery/plugins/jquery.deserialize.min.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 dda9446559..59b046491e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc @@ -245,6 +245,21 @@ $.widget.bridge('uitooltip', $.ui.tooltip); [% END # / IF persona %] + + + [% PROCESS jsinclude %] [% IF ( opacuserjs ) %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt index 79b9d64d30..df43c166ad 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt @@ -254,7 +254,7 @@
Audience - @@ -271,7 +271,7 @@
Content - @@ -285,7 +285,7 @@
Format - @@ -304,7 +304,7 @@
Additional content types for books/printed materials - @@ -379,10 +379,60 @@ [% END %] [% BLOCK jsinclude %] + +