소스 검색

operator type changed

Andrej Hudec 13 년 전
부모
커밋
72c9ae54bc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Filter/ChoiceFilter.php

+ 1 - 1
Filter/ChoiceFilter.php

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