Don't display located URIs in record details copy table user/dbs/ttopac-display-uris-and-cps
authorDan Scott <dan@coffeecode.net>
Wed, 29 Jun 2011 04:01:10 +0000 (00:01 -0400)
committerDan Scott <dan@coffeecode.net>
Wed, 29 Jun 2011 04:01:10 +0000 (00:01 -0400)
The more correct approach would be to modify the JSON query to exclude
copies from volumes where label = '##URI##', or to cut over to the in-db
unapi-based xml_holdings + acp approach - but for now this is a quick
and dirty fix that can't possibly hurt.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/web/templates/default/opac/parts/record/summary.tt2

index ff1a757..9dacc8d 100644 (file)
     </thead>
     <tbody class="copy_details_table">
         [% FOR copy_info IN ctx.copies %]
+        [% NEXT IF copy_info.call_number_label == '##URI##' %]
         <tr>
             <td>[%
                 # XXX KCLS-specific kludging