Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve search filter component: hide a facet if there is no filter category #6282

Merged
merged 6 commits into from Nov 4, 2020

Conversation

arditdomi
Copy link
Contributor

@arditdomi arditdomi commented Oct 26, 2020

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:
    This PR improve the search filter component by hiding facets without filter category.

What is the current behaviour? (You can also link to an open issue here)
All configured facets are shown in the result page.

What is the new behaviour?
Only configured facets with filter categories are shown.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

Copy link
Contributor

@eromano eromano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add some unit tests?

@eromano
Copy link
Contributor

eromano commented Nov 4, 2020

@arditdomi some e2e probably needs some love

@arditdomi arditdomi merged commit 5f76a7c into develop Nov 4, 2020
@arditdomi arditdomi deleted the dev-rkisterAlf branch November 4, 2020 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants