Skip to content

Commit

Permalink
Add Search and Sort
Browse files Browse the repository at this point in the history
  • Loading branch information
cannycookie committed Aug 19, 2024
1 parent 411936d commit fb564c3
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/Resources/EmailTemplateResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,18 @@ public static function table(Table $table): Table
->query(EmailTemplate::query())
->columns(
[
TextColumn::make('id'),
TextColumn::make('id')
->sortable()
->searchable(),
TextColumn::make('name')
->limit(50)
->sortable()
->searchable(),
->limit(50)
->sortable()
->searchable(),
TextColumn::make('language')
->limit(50),
->limit(50),
TextColumn::make('subject')
->limit(50),
->searchable()
->limit(50),
]
)
->filters(
Expand Down

0 comments on commit fb564c3

Please sign in to comment.