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

content search : Hide type selector if there is only one type #20861

Closed
wezell opened this issue Aug 26, 2021 · 2 comments · Fixed by #20862
Closed

content search : Hide type selector if there is only one type #20861

wezell opened this issue Aug 26, 2021 · 2 comments · Fixed by #20862

Comments

@wezell
Copy link
Contributor

wezell commented Aug 26, 2021

In our starter, we have a lot of custom portlets that have a single content type and we show a "select" box that only has a single option.

We need to hide the single selector and only show the search box if there is a single content type.

Screen Shot 2021-08-26 at 4 00 47 PM

@wezell
Copy link
Contributor Author

wezell commented Aug 26, 2021

After this change:

Screen Shot 2021-08-26 at 4 17 30 PM

@wezell wezell added this to the Maintenance Sprint milestone Aug 26, 2021
@wezell wezell linked a pull request Aug 26, 2021 that will close this issue
nollymar pushed a commit that referenced this issue Aug 27, 2021
* #20861 hide type selector when not needed

* #20861 hide type selector when not needed
@nollymar nollymar reopened this Aug 27, 2021
@alfredo-dotcms alfredo-dotcms self-assigned this Aug 31, 2021
@alfredo-dotcms alfredo-dotcms removed their assignment Aug 31, 2021
@nollymar nollymar modified the milestones: Maintenance Sprint, Scout Current Sep 7, 2021
@bryanboza
Copy link
Member

Fixed, tested on release-21.10 // Postgres // FF

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

Successfully merging a pull request may close this issue.

5 participants