From f1ab7d8cf54fb6b207621c583bd42b84b737c43b Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 5 Apr 2023 09:24:44 +0000 Subject: [PATCH] Reorder groups in the filter select list (#38402). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22166 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/queries_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb index 10c59c1a4..d6c6b59f4 100644 --- a/app/helpers/queries_helper.rb +++ b/app/helpers/queries_helper.rb @@ -24,7 +24,7 @@ module QueriesHelper def filters_options_for_select(query) ungrouped = [] - grouped = {} + grouped = {label_string: [], label_date: [], label_time_tracking: [], label_attachment: []} query.available_filters.map do |field, field_options| if field_options[:type] == :relation group = :label_relations -- 2.39.5