Nicolas Ricci %!s(int64=12) %!d(string=hai) anos
pai
achega
26efba3bc7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Resources/doc/reference/action_list.rst

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

@@ -40,7 +40,7 @@ You can customize the list query thanks to the ``createQuery`` method.
         $query->andWhere(
             $query->expr()->eq($query->getRootAlias() . '.my_field', ':my_param')
         );
-        $query->setParameter('my_field', 'my_value');
+        $query->setParameter('my_param', 'my_value');
         return $query;
     }