From 8cdeb16aa522f46fcc84a82c70bed23846bc032c Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Tue, 31 May 2016 15:51:47 -0400 Subject: [PATCH] LP#1703678 Show foreign copies even if only one If a record has no copies of its own, but it does have a foreign copy on a peer bib, show that copy info (and the link to the other record). Signed-off-by: Dan Wells Signed-off-by: Dan Scott Signed-off-by: Mike Rylander --- Open-ILS/src/templates/opac/parts/record/copy_table.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 index 6be5346bed..874c10e89d 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -26,7 +26,7 @@ FOREACH copy_info IN copies; END; -%] [%- -IF has_copies; +IF has_copies or ctx.foreign_copies; depth = CGI.param('copy_depth').defined ? CGI.param('copy_depth') : CGI.param('depth').defined ? CGI.param('depth') : ctx.copy_summary.last.depth; total_copies = ctx.copy_summary.$depth.count; %] -- 2.43.2