Skip to content

Commit

Permalink
Merge pull request #189 from HeartlandTechie/patch-2
Browse files Browse the repository at this point in the history
Update PageResource.php
  • Loading branch information
atmonshi authored Feb 19, 2024
2 parents 4f1377c + 80cc834 commit e30adfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filament/Resources/PageResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public static function form(Form $form): Form
->label(__('Post Slug')),

Select::make('parent_id')
->options(SkyPlugin::get()->getModel('PostStatus')::where('post_type', 'page')->pluck(
->options(SkyPlugin::get()->getModel('Post')::where('post_type', 'page')->pluck(
'title',
'id'
))
Expand Down

0 comments on commit e30adfb

Please sign in to comment.