Update objects.py
This commit is contained in:
parent
a5201551d4
commit
d6983e4be3
1 changed files with 1 additions and 1 deletions
|
|
@ -1434,7 +1434,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
||||||
return [
|
return [
|
||||||
obj
|
obj
|
||||||
for obj in obj_list
|
for obj in obj_list
|
||||||
if (obj.access(looker, "view") and obj.access(looker, "search", default=True))
|
if obj != looker and (obj.access(looker, "view") and obj.access(looker, "search", default=True))
|
||||||
]
|
]
|
||||||
|
|
||||||
# name and return_appearance hooks
|
# name and return_appearance hooks
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue