Type: Regression Bug
Affects Version/s: 7.0.X EE, Master
Component/s: User Management > Users & Organizations
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:
- Start up Liferay and log in as the admin user.
- Go to Control Panel > Sites > Sites and create 25 blank sites.
- Go to Control Panel > Users > Users and Organizations, and select the admin user
- In admin user's edit display, go to Sites > Select
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.
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)