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,7 +465,8 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
|||
# included in location.contents
|
||||
candidates.append(self)
|
||||
|
||||
tags = [(tagkey, tagcat[0] if tagcat else None) for tagkey, *tagcat in make_iter(tags)]
|
||||
if tags:
|
||||
tags = [(tagkey, tagcat[0] if tagcat else None) for tagkey, *tagcat in make_iter(tags)]
|
||||
|
||||
results = ObjectDB.objects.search_object(
|
||||
searchdata,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue