LP#1703678 Show foreign copies even if only one
authorDan Wells <dbw2@calvin.edu>
Tue, 31 May 2016 19:51:47 +0000 (15:51 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 12 Jul 2017 20:21:45 +0000 (16:21 -0400)
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 <dbw2@calvin.edu>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/record/copy_table.tt2

index c6ab1aa..19965a0 100644 (file)
@@ -25,7 +25,7 @@ FOREACH copy_info IN copies;
     END;
 END;
 -%]
-[%- IF has_copies; %]
+[%- IF has_copies or ctx.foreign_copies; %]
 <table class="table_no_border_space table_no_cell_pad table_no_border" width="100%" id="rdetails_status">
     <thead>
         <tr>