提交 8d1df887 编写于 作者: A Aditya Sanghi 提交者: José Valim

Fixing search_field to remove object attribute from options hash [#5730 state:resolved]

Signed-off-by: NJosé Valim <jose.valim@gmail.com>
上级 7b0c592e
......@@ -791,7 +791,7 @@ def search_field(object_name, method, options = {})
options["incremental"] = true unless options.has_key?("incremental")
end
InstanceTag.new(object_name, method, self, options.delete(:object)).to_input_field_tag("search", options)
InstanceTag.new(object_name, method, self, options.delete("object")).to_input_field_tag("search", options)
end
# Returns a text_field of type "tel".
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册