Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/softdeleteable-filter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ To disable the behavior, e.g. for admin users who may see deleted items,
disable the filter. Here is an example::

$filters = $em->getFilters();
$filters->disable('softdeleteable');
$filters->disable('soft_delete');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is wrong. The code snippet above (line 16 of this file) registers it under the softdeleteable name, so this is the name that should be used to disable it.

IF you used a different name in your own project, you of course need to also use that different name to disable the filter, but there is no reason to change this documentation.