mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-15 11:19:37 +03:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da0531e63b | ||
|
|
421dc75f4e | ||
|
|
ea6eacb400 |
@@ -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