Closed
Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
admin/ui
Describe the bug
In the Groups view (default/flat view), when using the name filter and no groups match the search criteria, removing the filter text causes the filter/search bar to disappear completely. Additionally, no groups are displayed afterwards, even though they should reappear when the filter is cleared.
Version
26.1.5,26.2.1
Regression
- The issue is a regression
Expected behavior
When clearing a filter in the Groups view that returned no results:
- The filter/search bar should remain visible
- All groups should be displayed again after the filter is cleared
Actual behavior
When clearing a filter in the Groups view that returned no results:
- The filter/search bar disappears completely
- No groups are shown at all, even though groups exist
- The view becomes unusable for further filtering
How to Reproduce?
- Log into the Keycloak Admin Console
- Navigate to the Groups section
- Ensure you are in the default (flat) view, not the hierarchical view
- Enter a search term in the filter that matches no existing groups (e.g., "xyz123")
- Observe that no groups are shown (expected)
- Clear the filter text
- Observe that:
- The filter/search bar disappears
- No groups are displayed
- There's no way to get back to the normal group view without refreshing the page
Anything else?
- The only way to recover from this state is to refresh the entire page, which impacts the user experience and workflow efficiency
- Important: This issue does not occur in the hierarchical view of the Groups section, only in the default (flat) view
- The hierarchical view's search functionality works as expected
- Issue has been verified in both Keycloak 26.1.5 and 26.2.1