From 1cb31348aabafaf54062a08330022ed163b175f3 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 Signed-off-by: Ben Shum --- 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 7381acd772..85f92ca052 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.43.2