by default, don't fetch user reqs that have already been cancelled
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 11 Mar 2010 14:10:52 +0000 (14:10 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 11 Mar 2010 14:10:52 +0000 (14:10 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15789 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/acq/picklist/user_request.js

index 7fe20e5..8508316 100644 (file)
@@ -32,10 +32,13 @@ function buildGrid() {
         {   order_by : {aur : 'request_date'},
             join : 'au' 
         },
-        {'+au' : {
-            home_ou : fieldmapper.aou.descendantNodeList(contextOrg).map(
-                function(item) { return item.id(); })
-        }}
+        {
+            cancel_reason : null,
+            '+au' : {
+                home_ou : fieldmapper.aou.descendantNodeList(contextOrg).map(
+                    function(item) { return item.id(); })
+            }
+        }
     );
 }