We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e0eeb4 commit 700f036Copy full SHA for 700f036
src/Resources/PageResource.php
@@ -62,6 +62,16 @@ public static function getNavigationGroup(): string
62
return flexiblePagesTrans('pages.nav_group');
63
}
64
65
+ public static function getEloquentQuery(): \Illuminate\Database\Eloquent\Builder
66
+ {
67
+ $query = parent::getEloquentQuery()
68
+ ->with([
69
+ 'parent',
70
+ ]);
71
+
72
+ return $query;
73
+ }
74
75
public static function form(Form $form): Form
76
{
77
return $form
@@ -105,6 +115,7 @@ public static function form(Form $form): Form
105
115
public static function table(Table $table): Table
106
116
107
117
return $table
118
+ ->mo
108
119
->columns([
109
120
TitleColumn::create(),
110
121
TextColumn::make('created_at')
0 commit comments