mirror of
https://github.com/flarum/framework.git
synced 2025-04-25 14:14:03 +08:00
fix: explicitly select post columns (#3621)
additional columns can be explicitly added by extensions Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
This commit is contained in:
parent
f3156c65c9
commit
9897f682a0
@ -35,6 +35,6 @@ class PostFilterer extends AbstractFilterer
|
||||
|
||||
protected function getQuery(User $actor): Builder
|
||||
{
|
||||
return $this->posts->query()->whereVisibleTo($actor);
|
||||
return $this->posts->query()->select('posts.*')->whereVisibleTo($actor);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user