lib/tickethub/collection.rb in tickethub-0.3.31 vs lib/tickethub/collection.rb in tickethub-0.3.32
- old
+ new
@@ -141,10 +141,10 @@
when Range
self.offset(search.min).first(search.max)
when Array
self.filter(id: search)
when String
- @klass.call endpoint, CGI::escape(search), @options
+ @klass.call endpoint, CGI::escape(search), @options, @params
else
raise ArgumentError, 'invalid search value type'
end
end
\ No newline at end of file