Sfoglia il codice sorgente

fixed filtering on sub-entities for sf 2.1

Jonas Liljestrand 12 anni fa
parent
commit
fe11f07f77
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
     }
 
     /**