Browse Source

fixed filtering on sub-entities for sf 2.1

Jonas Liljestrand 12 năm trước cách đây
mục cha
commit
fe11f07f77
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Filter/Filter.php

+ 1 - 1
Filter/Filter.php

@@ -54,7 +54,7 @@ abstract class Filter implements FilterInterface
            get bound, the default dataMapper is a PropertyPathMapper).
            So use this trick to avoid any issue.
         */
-        return str_replace('.', '~', $this->name);
+        return str_replace('.', '__', $this->name);
     }
 
     /**