From: Galen Charlton Date: Tue, 6 Oct 2015 18:37:10 +0000 (+0000) Subject: Revert "webstaff: don't break embedded volcopy editor if volume is empty" X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=715a34739a7839d9f886883e8338507f07095ead;p=working%2FEvergreen.git Revert "webstaff: don't break embedded volcopy editor if volume is empty" This is no longer needed because of other work that makes the volume copy editor better able to deal with empty volumes. This reverts commit 8ae0321d5bad47486ca9ff22a99de451a2900850. Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/holdings.js b/Open-ILS/web/js/ui/default/staff/cat/services/holdings.js index 225f3a5659..a0806c5c53 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/services/holdings.js +++ b/Open-ILS/web/js/ui/default/staff/cat/services/holdings.js @@ -297,13 +297,7 @@ function(egCore , $q) { var cp_id_list = []; angular.forEach( $scope.holdingsGridControls.allItems(), - function (item) { - if (item.copy_count > 0) { - // TODO: may want to make some provision for editing - // empty volumes - cp_id_list = cp_id_list.concat(item.id_list) - } - } + function (item) { cp_id_list = cp_id_list.concat(item.id_list) } ); return cp_id_list; }