From 07a03940a0567e69b3ecc2d28d1755ca3aa3cb66 Mon Sep 17 00:00:00 2001 From: Olivier Lambert Date: Thu, 11 Feb 2016 11:45:56 +0100 Subject: [PATCH] order installed patch by name --- app/modules/host/view.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/host/view.jade b/app/modules/host/view.jade index ddb0a62fce2..5a8bc1b774f 100644 --- a/app/modules/host/view.jade +++ b/app/modules/host/view.jade @@ -502,7 +502,7 @@ span(ng-click="installPatch(host.id, patch.uuid)", tooltip="Click to install the patch on this host", ng-if = 'canAdmin()') span.label.label-danger Missing span.label.label-danger(ng-if = '!canAdmin()') Missing - tr(ng-repeat="patch in poolPatches | map | slice:(5*(currentPatchPage-1)):(5*currentPatchPage)") + tr(ng-repeat="patch in poolPatches | map | orderBy:'-name'| slice:(5*(currentPatchPage-1)):(5*currentPatchPage)") td.oneliner {{patch.name}} td.oneliner {{patch.description}} //- TODO: use a proper function for patch date, like poolPatchToHostPatch