summaryrefslogtreecommitdiffstats
path: root/app/models/query.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/query.rb')
-rw-r--r--app/models/query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/query.rb b/app/models/query.rb
index fad42fcb2..4cd8d36b9 100644
--- a/app/models/query.rb
+++ b/app/models/query.rb
@@ -163,7 +163,7 @@ class Query < ActiveRecord::Base
}
}
- def initialize(attributes = nil)
+ def initialize(attributes=nil, *args)
super attributes
self.filters ||= { 'status_id' => {:operator => "o", :values => [""]} }
end