From: Galen Charlton Date: Mon, 25 Sep 2017 21:34:18 +0000 (-0400) Subject: LP#1713764: fix 'Retrieve Patron' action from webstaff pull list X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c1c01e013e997082a18d2f86b5bb41ec2cac548a;p=evergreen%2Fpines.git LP#1713764: fix 'Retrieve Patron' action from webstaff pull list 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 Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/web/js/ui/default/staff/circ/holds/app.js b/Open-ILS/web/js/ui/default/staff/circ/holds/app.js index 98eee8588d..00389fe947 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/holds/app.js +++ b/Open-ILS/web/js/ui/default/staff/circ/holds/app.js @@ -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();