diff --git a/app/controllers/work_packages/auto_completes_controller.rb b/app/controllers/work_packages/auto_completes_controller.rb index 78b677eaf4..35cc12c902 100644 --- a/app/controllers/work_packages/auto_completes_controller.rb +++ b/app/controllers/work_packages/auto_completes_controller.rb @@ -50,7 +50,7 @@ class WorkPackages::AutoCompletesController < ApplicationController @work_packages |= scope.visible .where(sql_query) - .order(id: :asc) + .order(:id) .limit(10) respond_to do |format|