Merge pull request #1767 from vincent-lg/fix_candidates
Fix a slight error in search with candidates
This commit is contained in:
commit
484e5e6b1c
1 changed files with 1 additions and 0 deletions
|
|
@ -427,6 +427,7 @@ class DefaultObject(with_metaclass(TypeclassBase, ObjectDB)):
|
||||||
# only allow exact matching if searching the entire database
|
# only allow exact matching if searching the entire database
|
||||||
# or unique #dbrefs
|
# or unique #dbrefs
|
||||||
exact = True
|
exact = True
|
||||||
|
candidates = None
|
||||||
elif candidates is None:
|
elif candidates is None:
|
||||||
# no custom candidates given - get them automatically
|
# no custom candidates given - get them automatically
|
||||||
if location:
|
if location:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue