diff --git a/dashboard/public/views/apps.js b/dashboard/public/views/apps.js index 098311450..41c726fde 100644 --- a/dashboard/public/views/apps.js +++ b/dashboard/public/views/apps.js @@ -76,7 +76,12 @@ angular.module('Application').controller('AppsController', ['$scope', '$translat $scope.orderByFilter = function (item) { if ($scope.orderBy === 'app') return item.manifest.title || 'App Link'; if ($scope.orderBy === 'status') return item.installationState + '-' + item.runState; - if ($scope.orderBy === 'sso') return item.sso; + if ($scope.orderBy === 'sso') { + if (item.ssoAuth && item.manifest.addons.oidc) return 'oidc'; + if (item.ssoAuth && (!item.manifest.addons.oidc && !item.manifest.addons.email)) return 'sso'; + if (item.manifest.addons.email) return 'email'; + return ''; + } return item.label || item.fqdn; };