filter_status_any.diff

filter_status_any - Tapan Sharma, 2016-03-29 15:16

Download (512 Bytes)

View differences:

app/models/issue_query.rb (working copy)
73 73

  
74 74
  def initialize(attributes=nil, *args)
75 75
    super attributes
76
    self.filters ||= { 'status_id' => {:operator => "o", :values => [""]} }
76
    self.filters ||= { 'status_id' => {:operator => "*", :values => [""]} }
77 77
  end
78 78

  
79 79
  # Returns true if the query is visible to +user+ or the current user.