Fix bug in tags= search method
This commit is contained in:
parent
caa7347fab
commit
8cc13d4cf5
1 changed files with 2 additions and 1 deletions
|
|
@ -465,6 +465,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
||||||
# included in location.contents
|
# included in location.contents
|
||||||
candidates.append(self)
|
candidates.append(self)
|
||||||
|
|
||||||
|
if tags:
|
||||||
tags = [(tagkey, tagcat[0] if tagcat else None) for tagkey, *tagcat in make_iter(tags)]
|
tags = [(tagkey, tagcat[0] if tagcat else None) for tagkey, *tagcat in make_iter(tags)]
|
||||||
|
|
||||||
results = ObjectDB.objects.search_object(
|
results = ObjectDB.objects.search_object(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue