Skip to content

Search bar doesn t display all existing keys when writing one term instead of the complete translation key  #121

Description

@BarbaraOliveira13

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.

Screenshot
term_custo
image
term_custo

Idea fo fix
Shouldn't we need to add maxResults to 200 here:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions