mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00:00
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
This commit is contained in:
parent
5c075233ae
commit
f1ab7d8cf5
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user