Nicolas Ricci 11 vuotta sitten
vanhempi
commit
26efba3bc7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;
     }