Use an orderBy expression on the lists of noncat types
on the patron checkout page and inhouse-use page.
Signed-off-by: Kyle Huckins <khuckins@catalystdevworks.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
</li>
<li class="divider"></li>
<li><a href
- ng-repeat='type in nonCatTypes'
+ ng-repeat="type in nonCatTypes | orderBy:'name()'"
ng-click="args.noncat_type=type.id()">{{type.name()}}</a>
</li>
</ul>
</li>
<li class="divider"></li>
<li>
- <a href ng-repeat='type in nonCatTypes'
+ <a href ng-repeat="type in nonCatTypes | orderBy:'name()'"
ng-click="checkoutArgs.noncat_type=type.id()">{{type.name()}}</a>
</li>
</ul>