Explorar el Código

Wrong variable name

Alexander Chernov hace 11 años
padre
commit
e8f1ea11ae
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Resources/doc/reference/form_types.rst

+ 1 - 1
Resources/doc/reference/form_types.rst

@@ -153,7 +153,7 @@ datagrid filter for the property ``title``.
         protected function configureDatagridFilters(DatagridMapper $datagridMapper)
         {
             // this text filter will be used to retrieve autocomplete fields
-            $formMapper
+            $datagridMapper
                 ->add('title')
             ;
         }