Add cookbook index entry & fix typo
@@ -56,3 +56,4 @@ Cookbook
cookbook/recipe_file_uploads
cookbook/recipe_image_previews
cookbook/recipe_row_templates
+ cookbook/recipe_sortable_listing
@@ -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;
}