Add a title filter to the AI disclosure suggestions listing
Problem
Reports > AI disclosure suggestions filters by status, grade and source only. It stores the entity type and ID, not the title, so the core string filter cannot be used.
Proposed solution
Add an exposed "Title" text filter, first in the row. A filter plugin finds the entities of each referenced type whose label contains the text, in the language of the suggestion, and keeps their rows. A post update adds it to the installed view and skips a customised one.
Remaining tasks
- Filter plugin, shipped view and post update
- Tests on MySQL (PostgreSQL and SQLite not run, see the closing comment)
- Docs and screenshot
Acceptance criteria
?title=<text>returns only suggestions whose entity label contains the text.- It works for nodes and for media.
- A site with a customised suggestions view keeps its view unchanged.
AI Compliance
🤖 Generated with the help of an LLM, reviewed and approved by me before posting.
Edited by Giorgio Alfredo Pagano