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