LP#1713764: fix 'Retrieve Patron' action from webstaff pull list
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 25 Sep 2017 21:34:18 +0000 (17:34 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 25 Sep 2017 21:40:59 +0000 (17:40 -0400)
This patch fixes a regression wherein the Retrieve Patron action
didn't work on the pull list grid by ensuring that the user value
would get fleshed.

To test
-------
[1] Go to the pull list in the web staff client and attempt the
    'Retrieve Patron' action. Note that nothing happens.
[2] Apply the patch and repeat step 1; this time, a new window
    should be opened with the patron record.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/circ/holds/app.js

index 98eee85..00389fe 100644 (file)
@@ -301,7 +301,9 @@ function($scope , $q , $routeParams , $window , $location , egCore ,
         return egCore.net.request(
             'open-ils.circ',
             'open-ils.circ.hold.details.batch.retrieve.authoritative',
-            egCore.auth.token(), Object.keys(details_needed)
+            egCore.auth.token(), Object.keys(details_needed), {
+                include_usr : true
+            }
 
         ).then(null, null, function(hold_info) {
             egProgressDialog.increment();