LP#1712362 Display single conjoined items
authorDan Scott <dscott@laurentian.ca>
Tue, 22 Aug 2017 14:08:22 +0000 (10:08 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 22 Aug 2017 14:52:15 +0000 (10:52 -0400)
An off-by-one error resulted in single conjoined items not being linked
from their peer bib record.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/opac/parts/record/copy_table.tt2

index 0b6266d..8535e7c 100644 (file)
@@ -243,7 +243,7 @@ END; # FOREACH bib
         [% END %]
 
 <tr><td>
-[%- IF copy_info.peer_bib_marc.size > 1;
+[%- IF copy_info.peer_bib_marc.size > 0;
 '<ul>';
     FOREACH bib IN copy_info.peer_bib_marc;
         attrs = {marc_xml => bib};