Search bar doesn t display all existing keys when writing one term instead of the complete translation key
Opened this issue · 0 comments
BarbaraOliveira13 commented
Description
The search bar in the term customizer no longer displays all existing keys during a search with one term.
Steps to Reproduce
- Go to admin dashboard
- Go to Term customizer
- Add a 'New translation set' with title/name and remove "contraint"
- Go to this new one translation set
- Click on "add multiple"
- In the search bar, search with "category" term for finding "decidim.proposals.proposals.filters.category"
Expected Behavior
In the search bar, when we search with one word (for exemple "category"), we need to find all the translation key corresponding (for exemple "decidim.proposals.proposals.filters.category"). We should'n need to write the complete translation key to find it.
Actual Behavior
But for now, the search bar display the only ten first translation key corresponding of our search, when we search with one word.
Idea fo fix
Shouldn't we need to add maxResults to 200 here: