[open-ils-commits] [GIT] Evergreen ILS branch rel_2_12 updated. a0cd829eb257fa226a2b46e1b0d9cf33ab1c3d75
Evergreen Git
git at git.evergreen-ils.org
Fri Sep 1 17:09:57 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_12 has been updated
via a0cd829eb257fa226a2b46e1b0d9cf33ab1c3d75 (commit)
from 1668ebdc61e660c753e2428144ecf5515face8fd (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 a0cd829eb257fa226a2b46e1b0d9cf33ab1c3d75
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 72faa1c..d34925c 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
@@ -354,6 +354,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 e2fa5ba..21210b1 100644
--- a/Open-ILS/src/templates/opac/parts/result/table.tt2
+++ b/Open-ILS/src/templates/opac/parts/result/table.tt2
@@ -396,6 +396,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;
@@ -418,6 +420,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