Explorar o código

operator type changed

Andrej Hudec %!s(int64=13) %!d(string=hai) anos
pai
achega
72c9ae54bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()