Steps to reproduce the issue
|
if ($this->state->get('filter.published') == -2 && $canDo->get('core.delete')) { |
only checks for filter.published but since we support (or should replace not sure about the bigger picture) filter.state we also should support it in the ListView.