mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-23 07:21:38 +03:00
Merge branch 'development' into release
This commit is contained in:
@ -140,6 +140,7 @@ class JointPermissionBuilder
|
||||
return Book::query()->withTrashed()
|
||||
->select(['id', 'owned_by'])->with([
|
||||
'chapters' => function ($query) {
|
||||
$query->withTrashed()->select(['id', 'owned_by', 'book_id']);
|
||||
},
|
||||
'pages' => function ($query) {
|
||||
$query->withTrashed()->select(['id', 'owned_by', 'book_id', 'chapter_id']);
|
||||
|
Reference in New Issue
Block a user