Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73121

Site count does not display correctly in environments with over 20 sites in grant membership panel

    Details

      Description

      Description:
      In the display granting site membership to user in Users and Organization, only 20 sites are shown if there are more than 20 sites. This confuses the UI and makes it impossible to change the page and see any sites beyond the 20th site (or 75th site if you change the pagination).

      Steps to reproduce:

      1. Start up Liferay and log in as the admin user.
      2. Go to Control Panel > Sites > Sites and create 25 blank sites.
      3. Go to Control Panel > Users > Users and Organizations, and select the admin user
      4. In admin user's edit display, go to Sites > Select

      Expected Result:
      Since there are more than 20 sites, "Showing 1 to 20 of 26 entries" (26 is the number since we're counting the default "Liferay DXP" site) should be displayed, and the user should also see that the page list < 1 2 > and be able to go to the next page.

      Actual Result:
      Even though there should be more than 20 sites that are created, the panel only shows "Showing 1 to 20 of 20 entries", and displays a non-operative page list (e.g. < 1 >) preventing the user from accessing the other pages.

      Reproduced in master (ce3d65efe197a9c91e882c939e0f19b31dec1fb1)
      Reproduced in ee-7.0.x (73d71c3af48aaefcaf56d3a746a99f21d1dc0999)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 8 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP22
                  7.0.0 DXP SP4
                  7.0.X EE
                  7.0.4 CE GA5
                  7.1.X
                  Master