From: Bill Erickson Date: Mon, 15 Dec 2014 18:47:51 +0000 (-0500) Subject: LP#1402797 webby: catalog record -> view holds org filter repair X-Git-Tag: sprint4-merge-nov22~1657 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f985e0d91d0591321d6e776e189657cb359c6fe6;p=working%2FEvergreen.git LP#1402797 webby: catalog record -> view holds org filter repair Selecting a pickup library from the filter in the Catalog -> View Holds UI shows holds for the selected org unit and descendant org units. Signed-off-by: Bill Erickson Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js index 8c06ad5c1a..9b466a93ee 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js @@ -101,7 +101,7 @@ function($scope , $routeParams , $location , $q , egCore , egHolds, 'open-ils.circ', 'open-ils.circ.holds.retrieve_all_from_title', egCore.auth.token(), $scope.record_id, - {pickup_lib : $scope.pickup_ou.id()} + {pickup_lib : egCore.org.descendants($scope.pickup_ou.id(), true)} ).then( function(hold_data) { angular.forEach(hold_data, function(list, type) {