Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Fix for filter_field_name option (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
danut007ro authored Oct 7, 2020
1 parent 9b2002a commit c34be85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Filter/Form/FilterTypeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ public function buildForm(FormBuilderInterface $builder, array $options)
if ($options['filter_condition_builder'] instanceof \Closure) {
$builder->setAttribute('filter_condition_builder', $options['filter_condition_builder']);
}

if (null !== $options['filter_field_name']) {
$builder->setAttribute('filter_field_name', $options['filter_field_name']);
}
}

/**
Expand Down

0 comments on commit c34be85

Please sign in to comment.