LP#1669907: Web Staff Bib record Holds View dups
[working/Evergreen.git] / Open-ILS / web / js / ui / default / staff / cat / catalog / app.js
index c8471a9..17eb562 100644 (file)
@@ -1513,6 +1513,7 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e
             {pickup_lib : egCore.org.descendants($scope.pickup_ou.id(), true)}
         ).then(
             function(hold_data) {
+                hold_ids = []; // clear the list of ids, hack to avoid dups
                 angular.forEach(hold_data, function(list, type) {
                     hold_ids = hold_ids.concat(list);
                 });