Browse Source

operator type changed

Andrej Hudec 13 năm trước cách đây
mục cha
commit
72c9ae54bc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Filter/ChoiceFilter.php

+ 1 - 1
Filter/ChoiceFilter.php

@@ -89,7 +89,7 @@ class ChoiceFilter extends Filter
     public function getRenderSettings()
     {
         return array('sonata_type_filter_default', array(
-            'operator_type' => 'sonata_type_boolean',
+            'operator_type' => 'sonata_type_equal',
             'field_type'    => $this->getFieldType(),
             'field_options' => $this->getFieldOptions(),
             'label'         => $this->getLabel()