Update query_patch.rb

This commit is contained in:
2016-04-18 12:14:14 -04:00
parent fd8a068f16
commit f10114d43c

View File

@@ -41,7 +41,7 @@ module QueryPatch
end end
def available_filters_with_qbo def available_filters_with_qbo
return @available_filters if @available_filters unless @available_filters
@available_filters = available_filters_without_qbo @available_filters = available_filters_without_qbo
qbo_filters = { qbo_filters = {
@@ -50,7 +50,10 @@ module QueryPatch
:type => :text, :type => :text,
:order => @available_filters.size + 1}, :order => @available_filters.size + 1},
} }
return @available_filters.merge!(qbo_filters)
@available_filters.merge!(qbo_filters)
end
@available_filters
end end
end end
end end