JBAS-769 CHS BibTemplate no longer required
authorBill Erickson <berickxx@gmail.com>
Fri, 7 Aug 2015 15:57:28 +0000 (11:57 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Title/Author info comes from parsing the XML directly now.  No need for
BibTemplate.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/opac/extras/circ/alt_holds_print.html
Open-ILS/web/opac/extras/circ/alt_holds_print.js

index 17d6fb7..d2acd87 100644 (file)
                     <td only="shelf_expired_holds">${usr.display_name}</td>
                     <td only="shelf_expired_holds">${action}</td>
                     <td>${hold_type}</td>
-                    <!--
-                    <td type='opac/slot-data' query='datafield[tag="245"]'></td>
-                    <td type='opac/slot-data' query='datafield[tag^="1"]' limit='1'> </td>
-                    -->
                     <td>${title}</td>
                     <td>${author}</td>
                     <td>${current_copy.location.name}</td>
index 8597543..366116e 100644 (file)
@@ -261,14 +261,6 @@ function do_clear_holds_from_cache(cache_key) {
                             }
                         );
 
-                        new openils.BibTemplate({
-                            "root": tr,
-                            "xml": dojox.xml.parser.parse(
-                                hold.current_copy.call_number.record.marc
-                            ),
-                            "delay": false
-                        });
-
                         dojo.attr(tr, "sortkey", hold.usr.display_name);
                         place_by_sortkey(tr, target);
                     }