Przeglądaj źródła

fixed filtering on sub-entities for sf 2.1

Jonas Liljestrand 12 lat temu
rodzic
commit
fe11f07f77
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
     }
 
     /**