patron.util api change
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 Dec 2005 15:43:48 +0000 (15:43 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 Dec 2005 15:43:48 +0000 (15:43 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2402 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/util.js

index 23d7ece..cea2c54 100644 (file)
@@ -190,7 +190,7 @@ circ.util.checkin_via_barcode = function(session,barcode,backdate) {
                                                                check.text = check2.text;
                                                                check.route_to = check2.route_to;
                                                                JSAN.use('patron.util');
-                                                               var patron = patron.util.retrieve_au_by_id( check.hold.usr() );
+                                                               var patron = patron.util.retrieve_au_via_id( check.hold.usr() );
                                                                alert('To Printer\n' + check.text + '\r\n' + 'Barcode: ' + barcode + '  Title: ' + 
                                                                        check.record.title() + '  Author: ' + check.record.author() + 
                                                                        '\r\n' + 'Route To: ' + check.route_to + '  Patron: ' + 
@@ -225,7 +225,7 @@ circ.util.checkin_via_barcode = function(session,barcode,backdate) {
                                break;
                                case '2': case 2: /* LOST??? */
                                        JSAN.use('patron.util');
-                                       var patron = patron.util.retrieve_au_by_id( check.circ.usr() );
+                                       var patron = patron.util.retrieve_au_via_id( check.circ.usr() );
                                        var msg = check.text + '\r\n' + 'Barcode: ' + barcode + '  Title: ' + 
                                                        check.record.title() + '  Author: ' + check.record.author() + '\r\n' +
                                                        'Patron: ' + patron.card().barcode() + ' ' + patron.family_name() + ', ' +