It seems Angular 1.5 is either less flexible or less forgiving in its
ng-repeat implementation, and does not like an orderBy filter on object
iterators. Removing that, and the track by clause, allows the holdings
editor to render properly.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
</div> <!-- row -->
<eg-vol-edit
focus-next="focusNextFirst"
- ng-repeat="(lib,callnumbers) in data.tree | orderBy:lib track by lib"
+ ng-repeat="(lib,callnumbers) in data.tree"
ng-init="ind = $index"
record="{{record_id}}"
only-vols="only_vols"
'<div class="col-xs-1"><input ng-disabled="record == 0" class="form-control" type="number" min="{{orig_cn_count}}" ng-model="cn_count" ng-change="changeCNCount()"/></div>'+
'<div class="col-xs-10">'+
'<eg-vol-row only-vols="onlyVols" record="{{record}}"'+
- 'ng-repeat="(cn,copies) in struct | orderBy:cn track by cn" '+
+ 'ng-repeat="(cn,copies) in struct" '+
'focus-next="focusNextFirst" copies="copies" allcopies="allcopies">'+
'</eg-vol-row>'+
'</div>'+