Prechádzať zdrojové kódy

operator type changed

Andrej Hudec 13 rokov pred
rodič
commit
72c9ae54bc
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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()