Merge branch 'development' into release
This commit is contained in:
commit
421dc75f4e
|
@ -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']);
|
||||||
|
|
Loading…
Reference in New Issue