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 <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
'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) {