Merge pull request #448 from joefiorini/patch-1
Use `base` from options if it's passed in
This commit is contained in:
Коммит
90fc42c9fd
|
@ -125,12 +125,12 @@ module OmniAuth
|
|||
end
|
||||
|
||||
def search(options={}, &block)
|
||||
base = options[:base]
|
||||
base = options[:base] || @base
|
||||
filter = options[:filter]
|
||||
limit = options[:limit]
|
||||
|
||||
args = {
|
||||
:base => @base,
|
||||
:base => base,
|
||||
:filter => filter,
|
||||
:size => limit
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче