Project

General

Profile

Feature #38402 » 0003-Reorder-groups-in-the-filter-select-list.patch

Go MAEDA, 2023-04-02 10:10

View differences:

app/helpers/queries_helper.rb
24 24

  
25 25
  def filters_options_for_select(query)
26 26
    ungrouped = []
27
    grouped = {}
27
    grouped = {label_string: [], label_date: [], label_time_tracking: [], label_attachment: []}
28 28
    query.available_filters.map do |field, field_options|
29 29
      if field_options[:type] == :relation
30 30
        group = :label_relations
(4-4/8)