From: Dan Wells Date: Tue, 31 May 2016 19:51:47 +0000 (-0400) Subject: LP#1703678 Show foreign copies even if only one X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=129d7007e0849e4814b4c9ecf152c76e178571ba;p=working%2FEvergreen.git 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 --- 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; %]