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 <gmc@esilibrary.com>
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;
}