Project

General

Profile

Patch #29710 ยป unused-variable-filter_options.patch

Yuichi HARADA, 2018-10-02 02:28

View differences:

app/models/query.rb
613 613
    return unless values.nil? || values.is_a?(Array)
614 614
    # check if field is defined as an available filter
615 615
    if available_filters.has_key? field
616
      filter_options = available_filters[field]
617 616
      filters[field] = {:operator => operator, :values => (values || [''])}
618 617
    end
619 618
  end
    (1-1/1)