Skip to content

[5.x]: Element Index doesn't preserve "Trashed" status on page load #18230

@chrismlusk

Description

@chrismlusk

What happened?

Description

In an element index view, the Trashed status in the URL is not preserved on page load — unlike all other statuses.

Steps to reproduce

  1. View any element index
  2. Change the status to Trashed
  3. Reload the page

Expected behavior

The index is loaded and filtered to trashed elements.

Actual behavior

The default "All" state is loaded instead.

Craft CMS version

5.8.22

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions