lib/request_log_analyzer/controller.rb in request-log-analyzer-1.9.4 vs lib/request_log_analyzer/controller.rb in request-log-analyzer-1.9.5
- old
+ new
@@ -214,10 +214,10 @@
options[:reject].each do |(field, value)|
controller.add_filter(:field, :mode => :reject, :field => field, :value => value)
end
end
- if options[:reject]
+ if options[:select]
options[:select].each do |(field, value)|
controller.add_filter(:field, :mode => :select, :field => field, :value => value)
end
end