Order apps in store listing based on installCount

This commit is contained in:
Johannes Zellner
2016-12-16 17:36:16 +01:00
parent 33e87c7ffa
commit da7b2e62f5

View File

@@ -281,7 +281,7 @@
</div>
<div class="col-md-10" ng-show="ready && apps.length">
<div class="row-no-margin">
<div class="col-sm-1 appstore-item" ng-repeat="app in apps">
<div class="col-sm-1 appstore-item" ng-repeat="app in apps | orderBy:'installCount':true"">
<div class="appstore-item-content highlight" ng-click="gotoApp(app)" ng-class="{ 'appstore-item-content-testing': (app.publishState === 'testing' || app.publishState === 'pending_approval') }">
<span class="badge badge-danger appstore-item-badge-testing" ng-show="app.publishState === 'testing'">Testing</span>
<span class="badge badge-warning appstore-item-badge-testing" ng-show="app.publishState === 'pending_approval'">Pending Approval</span>