Problem/Motivation
The taxonomy overview page could become huge, with many pages, so it would be handy to have a filter to let the editor find terms
Steps to reproduce
Create a vocabulary with many terms to see the problem. You can install Devel and enable "Devel generate" submodule to be able to use the command drush devel-generate:terms --bundles=tags 100
. This will create sample terms with hierarchy in the tags vocabulary.
Proposed resolution
Add a filter to the taxonomy overview page, to let the editor filter and better find a term. By default, this is the handler that renders the overview page form : Drupal\taxonomy\Form\OverviewTerms
Remaining tasks
- [✓] - Create a first simple version
- [✓] - Solve the erratic behavior when hierarchy is involved
- [✓] - Tests
User interface changes
A new "exposed filter" is added to the taxonomy overview page, that lets the editor filter terms by an input string.
Before:
After:
Highlighted results and warning about disabled reordering:
Introduced terminology
None.
API changes
None.
Data model changes
None.
Release notes snippet
None.