added clear_marc to po li retrieval to cut down network; mild code cleanup
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Aug 2010 14:22:27 +0000 (14:22 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Aug 2010 14:22:27 +0000 (14:22 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17262 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/acq/po/view_po.js

index 09e7862..65b978a 100644 (file)
@@ -385,7 +385,11 @@ function init() {
     fieldmapper.standardRequest(
         ['open-ils.acq', 'open-ils.acq.lineitem.search'],
         {   async: true,
-params: [openils.User.authtoken, {purchase_order:poId}, {flesh_attrs:true, flesh_notes:true, flesh_cancel_reason:true}],
+            params: [
+                openils.User.authtoken, 
+                {purchase_order:poId}, 
+                {flesh_attrs:true, flesh_notes:true, flesh_cancel_reason:true, clear_marc:true}
+            ],
             onresponse: function(r) {
                 zeroLi = false;
                 liTable.show('list');