Merge pull request #3472 from InspectorCaracal/patch-9
Exclude viewer from displayed contents
This commit is contained in:
commit
a02a71b7f3
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