To test:
1. Go to the volume copy editor. Confirm that the stat
cats do not display in order of owning library or stat cat
name.
2. Apply this commit.
3. Go to the volume copy editor. Confirm that the stat
cats now display in alphabetical order by owning library,
then stat cat name.
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
<div ng-if="hasMulti()"> </div>
</li>
- <li ng-repeat="sc in statcats" ng-if="statcat_visible(sc.owner().id())">
+ <li ng-repeat="sc in statcats | orderBy:['owner().name()','name()']" ng-if="statcat_visible(sc.owner().id())">
<div class="bg-info"><label>{{sc.owner().name() }} : {{ sc.name()}}</label></div>
<div ng-class="{'bg-success': working.statcats[sc.id()] !== undefined}">
<select class="form-control" ng-disabled="!defaults.statcats"