Let users search for trashed items/support views

Created on 25 July 2023, over 1 year ago
Updated 25 October 2023, about 1 year ago

My client has a lot of content that is also deleted often. Currently it's not possible to search for items that are trashed.

It would be cool if we could also use views to change the look and functionality of the trash like the normal content/entity listing.

Thanks!

Feature request
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

🇩🇪Germany VISIOS

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @VISIOS
  • 🇷🇺Russia kala4ek 🇷🇺 Novosibirsk

    You may create your own view. Just set a "deleted" filter and display all other columns/filter that you want.
    Ypu even may palce it into /admin/content/trash path.

  • 🇩🇪Germany VISIOS

    Thanks for letting me know. I have set up two views for content and media and I can replace the standard display coming from the trash module.

    So far so good. There is only one problem:

    I can't prune/delete from this view. The "Operations" button on the right hand side only provides a "Restore" functionality (and not the delete functionality that was introduced in a former update of th module.

    Using the "Action" pull down to delete a node gives a permission error: "No access to execute Delete content on the Content ." This applies to all actions.

    Can anybody help? Thanks!

  • 🇷🇺Russia kala4ek 🇷🇺 Novosibirsk

    To get a "purge" operation ,you can try to use patch from Add "Purge" operation link Fixed .

  • Status changed to Closed: works as designed about 1 year ago
  • 🇷🇴Romania amateescu

    I just committed Add "Purge" operation link Fixed , so views of trashed entities should be fully functional now.

    The reason for not providing a Views-based admin UI by default is because the list of "trashable" entity types is configurable, and views are not dynamic like that :)

Production build 0.71.5 2024