[open-ils-commits] [GIT] Evergreen ILS branch rel_2_11 updated. 2909d09bafc960f093fbce0dcd5d603a84fc43f9
Evergreen Git
git at git.evergreen-ils.org
Fri Sep 1 17:11:27 EDT 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_11 has been updated
via 2909d09bafc960f093fbce0dcd5d603a84fc43f9 (commit)
from d13fec11b226c77ce8351dc0d63b860601474335 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2909d09bafc960f093fbce0dcd5d603a84fc43f9
Author: Cesar Velez <cesar.velez at equinoxinitiative.org>
Date: Fri Aug 11 17:52:13 2017 -0400
LP#1599894 - OPAC disable Add to MyList when doing metabib search
Since adding a result to MyList yields to a random title
(due to bad id) being added to temp. lists, disable MyList if
metabib search is on, i.e "Group formats and editions"
checkbox is checked.
Signed-off by: Cesar Velez <cesar.velez at equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
Conflicts:
Open-ILS/src/templates/opac/parts/result/table.tt2
Conflicts:
Open-ILS/src/templates/opac/parts/result/table.tt2
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
index 48c218a..b6faa32 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
@@ -353,6 +353,7 @@ sub load_rresults {
$ctx->{records} = [];
$ctx->{search_facets} = {};
$ctx->{hit_count} = 0;
+ $ctx->{is_meta} = $is_meta;
# Special alternative searches here. This could all stand to be cleaner.
if ($cgi->param("_special")) {
diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2
index a7f4c2b..b073f2b 100644
--- a/Open-ILS/src/templates/opac/parts/result/table.tt2
+++ b/Open-ILS/src/templates/opac/parts/result/table.tt2
@@ -386,6 +386,8 @@ END;
alt=""/><span class="result_place_hold">[% l('Place Hold') %]</span></a>
</div>
[%- END -%]
+
+ [% IF !ctx.is_meta %]
<div class="results_aux_utils result_util">
[% IF !ctx.is_staff %]
[% IF ctx.user;
@@ -408,6 +410,7 @@ END;
[% END %]
[% END %]
</div>
+ [% END %]
[% IF ENV.OILS_CONTENT_CAFE_USER %]
[% ident = attrs.isbn_clean || attrs.upc %]
<div class="results_aux_utils result_util">
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm | 1 +
Open-ILS/src/templates/opac/parts/result/table.tt2 | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list