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 <dan@coffeecode.net>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
</td>
<td>[% bib.target_copy.call_number.label | html %]</td>
<td>[% bib.target_copy.barcode | html %]</td>
- <td>[% copy_info.copy_location | html %]</td>
- <td>[% copy_info.copy_status | html %]</td>
+ <td>[% bib.target_copy.location.name | html %]</td>
+ <td>[% bib.target_copy.status.name | html %]</td>
<td>[% date.format(ctx.parse_datetime(copy_info.due_date, copy_info.circ_circ_lib),DATE_FORMAT) %]</td>
</tr>
[%- END; # FOREACH peer