Skip to content

Commit

Permalink
Added filters
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Oct 7, 2024
1 parent 16f85f6 commit ecba4aa
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/DependencyInjection/SetonoSyliusMailerExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,27 @@ public function prepend(ContainerBuilder $container): void
'limits' => [
100, 250, 500, 1000,
],
'filters' => [
'search' => [
'type' => 'string',
'label' => 'sylius.ui.search',
'options' => [
'fields' => [
'subject',
'to',
'from',
],
],
],
'createdAt' => [
'type' => 'date',
'label' => 'setono_sylius_mailer.ui.sent_at',
'options' => [
'field' => 'createdAt',
'inclusive_to' => true,
],
],
],
'fields' => [
'subject' => [
'type' => 'string',
Expand Down

0 comments on commit ecba4aa

Please sign in to comment.