From f985e0d91d0591321d6e776e189657cb359c6fe6 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 15 Dec 2014 13:47:51 -0500 Subject: [PATCH] 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 --- Open-ILS/web/js/ui/default/staff/cat/catalog/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.43.2