17720-change-filter-position.diff

patch (change position in filters drop-down) - Go MAEDA, 2017-01-21 11:15

Download (1.04 KB)

View differences:

app/models/issue_query.rb (working copy)
145 145
        :type => :list, :values => [["<< #{l(:label_me)} >>", "me"]]
146 146
    end
147 147

  
148
    add_available_filter("updated_by",
149
      :type => :list, :values => lambda { author_values }
150
    )
151

  
152
    add_available_filter("last_updated_by",
153
      :type => :list, :values => lambda { author_values }
154
    )
155

  
148 156
    if project && !project.leaf?
149 157
      add_available_filter "subproject_id",
150 158
        :type => :list_subprojects,
......
165 173

  
166 174
    add_available_filter "issue_id", :type => :integer, :label => :label_issue
167 175

  
168
    add_available_filter("updated_by",
169
      :type => :list, :values => lambda { author_values }
170
    )
171

  
172
    add_available_filter("last_updated_by",
173
      :type => :list, :values => lambda { author_values }
174
    )
175

  
176 176
    Tracker.disabled_core_fields(trackers).each {|field|
177 177
      delete_available_filter field
178 178
    }