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

Commit c34be85

Browse files
authored
Fix for filter_field_name option (#337)
1 parent 9b2002a commit c34be85

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Filter/Form/FilterTypeExtension.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ public function buildForm(FormBuilderInterface $builder, array $options)
2626
if ($options['filter_condition_builder'] instanceof \Closure) {
2727
$builder->setAttribute('filter_condition_builder', $options['filter_condition_builder']);
2828
}
29+
30+
if (null !== $options['filter_field_name']) {
31+
$builder->setAttribute('filter_field_name', $options['filter_field_name']);
32+
}
2933
}
3034

3135
/**

0 commit comments

Comments
 (0)