From: Dan Scott Date: Wed, 12 Jul 2017 14:07:23 +0000 (-0400) Subject: LP#1703678 Display foreign item location and status X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c35dd8cc5f8eaed2f557123def154d1454d724c6;p=working%2FEvergreen.git LP#1703678 Display foreign item location and status We were using copy_info instead of the foreign item's data to try to display location and status of foreign items. As copy_info had not been initialized, it displayed nothing. Use the foreign item data instead for location and status. 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 13e3cebe70..d06166a5b8 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -71,8 +71,8 @@ IF has_copies or ctx.foreign_copies; [% bib.target_copy.call_number.label | html %] [% bib.target_copy.barcode | html %] - [% copy_info.copy_location | html %] - [% copy_info.copy_status | html %] + [% bib.target_copy.location.name | html %] + [% bib.target_copy.location.status.name | html %] [% copy_info.due_date | html %] [%- END; # FOREACH peer