Procházet zdrojové kódy

Merge pull request #73 from pulzarraider/ChoiceFilter_fix

ChoiceFilter: operator type changed
Thomas před 13 roky
rodič
revize
4fa01ae4ed
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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()