There is no template for printing patron lists. Quick fix until we replace those...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 26 Apr 2010 17:14:44 +0000 (17:14 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 26 Apr 2010 17:14:44 +0000 (17:14 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16306 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/search_result.js

index b7d2b29..3cc26ec 100644 (file)
@@ -99,10 +99,7 @@ patron.search_result.prototype = {
                         ['command'],
                         function() {
                             try {
-                                var p = { 
-                                    'template' : 'patron'
-                                };
-                                obj.list.print( p );
+                                obj.list.dump_csv_to_printer();
                             } catch(E) {
                                 obj.error.standard_unexpected_error_alert($("patronStrings").getString('staff.patron.search_result.init.search_print'),E);
                             }