From a7529d49f191c3cbdd7beb306a845d29172a4063 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Thu, 15 May 2014 11:31:56 -0400 Subject: [PATCH] LP 1319560: Fix the disappearing hold button. Staff discovered an issue with the tt2 changes that caused the place hold button to disappear when it shouldn't. Changing an && back to || seems to fix this. Signed-off-by: Jason Stephenson --- Open-ILS/src/templates/opac/parts/record/summary.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2 index 30ddd2b25c..b61106e4bb 100644 --- a/Open-ILS/src/templates/opac/parts/record/summary.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2 @@ -43,7 +43,7 @@ [%- search_ou = ctx.search_ou; IF ctx.place_unfillable || ( attrs.marc_xml.findnodes('//*[local-name()="holdings" and @has_holdable="true"]').size > 0 - && (ctx.holds_block.enabled != 'true' && !attrs.org_copy_counts.$search_ou.available) + && (ctx.holds_block.enabled != 'true' || !attrs.org_copy_counts.$search_ou.available) ) %]
-- 2.11.0