summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-04-05 09:24:44 +0000
committerGo MAEDA <maeda@farend.jp>2023-04-05 09:24:44 +0000
commitf1ab7d8cf54fb6b207621c583bd42b84b737c43b (patch)
treec4d7e3575c0ab3467717f0c2f161887a1464d258 /app/helpers
parent5c075233ae9c9a57682994336d6f9a39931a0040 (diff)
downloadredmine-f1ab7d8cf54fb6b207621c583bd42b84b737c43b.tar.gz
redmine-f1ab7d8cf54fb6b207621c583bd42b84b737c43b.zip
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
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/queries_helper.rb2
1 files changed, 1 insertions, 1 deletions
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