Parcourir la source

fixed filtering on sub-entities for sf 2.1

Jonas Liljestrand il y a 12 ans
Parent
commit
fe11f07f77
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);
     }
 
     /**