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=refs%2Fheads%2Fuser%2Fdbs%2Flp1703678_show_foreign_copies_2_12;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 19965a0eeb..b4b6940d5f 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -67,8 +67,8 @@ END; [% 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.status.name | html %] [% copy_info.due_date | html %] [%- END; # FOREACH peer