Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-2999

Groups view: Filter/search bar disappears and groups not shown after clearing empty search results [GHI#39180]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [x] 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:
      1. The filter/search bar should remain visible
      2. 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:
      1. The filter/search bar disappears completely
      2. No groups are shown at all, even though groups exist
      3. The view becomes unusable for further filtering

      How to Reproduce?

      1. Log into the Keycloak Admin Console
      2. Navigate to the Groups section
      3. Ensure you are in the default (flat) view, not the hierarchical view
      4. Enter a search term in the filter that matches no existing groups (e.g., "xyz123")
      5. Observe that no groups are shown (expected)
      6. Clear the filter text
      7. 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

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: