Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Unrelated fix: Always sort auth sources by ID ascending

Oliver Günther1246dfba52cc
diff --git a/app/controllers/auth_sources_controller.rb b/app/controllers/auth_sources_controller.rb
index 811fc2a7fd9..19e9b54e901 100644
--- a/app/controllers/auth_sources_controller.rb
+++ b/app/controllers/auth_sources_controller.rb
@@ -34,8 +34,10 @@ class AuthSourcesController < ApplicationController
before_action :block_if_password_login_disabled
def index
- @auth_sources = AuthSource.page(page_param)
- .per_page(per_page_param)
+ @auth_sources = AuthSource
+ .order(id: :asc)
+ .page(page_param)
+ .per_page(per_page_param)
render 'auth_sources/index'
end