Explorar o código

Wrong variable name

Alexander Chernov %!s(int64=11) %!d(string=hai) anos
pai
achega
e8f1ea11ae
Modificáronse 1 ficheiros con 1 adicións e 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')
             ;
         }