Description
SiteFactory pagination does not display all Sites when there are Sites with lots of Public Accesses.
Steps to reproduce:
1. Add a new SiteAccess group in config/packages/ezplatform.yaml called sf_group
2. In the file "config/packages/ezplatform_site_factory.yaml" modify Site Factory configuration:
ez_platform_site_factory: enabled: true update_roles: [Anonymous, Administrator] templates: test: siteaccess_group: sf_group name: Test thumbnail: https://placekitten.com/500/500
3. Login as admin
4. Go to Sites
5. Create a new Site "TestSite1" with 30 Public Accesses:
Domain | Path | Language |
---|---|---|
test.local | path1 | eng-GB |
test.local | path2 | eng-GB |
test.local | path3 | eng-GB |
test.local | path4 | eng-GB |
test.local | path5 | eng-GB |
test.local | path6 | eng-GB |
test.local | path7 | eng-GB |
test.local | path8 | eng-GB |
test.local | path9 | eng-GB |
test.local | path10 | eng-GB |
test.local | path11 | eng-GB |
test.local | path12 | eng-GB |
test.local | path13 | eng-GB |
test.local | path14 | eng-GB |
test.local | path15 | eng-GB |
test.local | path16 | eng-GB |
test.local | path17 | eng-GB |
test.local | path18 | eng-GB |
test.local | path19 | eng-GB |
test.local | path20 | eng-GB |
test.local | path21 | eng-GB |
test.local | path22 | eng-GB |
test.local | path23 | eng-GB |
test.local | path24 | eng-GB |
test.local | path25 | eng-GB |
test.local | path26 | eng-GB |
test.local | path27 | eng-GB |
test.local | path28 | eng-GB |
test.local | path29 | eng-GB |
test.local | path30 | eng-GB |
6. Create another Site with 30 Public Accesses ("TestSite2"):
Domain | Path | Language |
---|---|---|
test2.local | path1 | eng-GB |
test2.local | path2 | eng-GB |
test2.local | path3 | eng-GB |
test2.local | path4 | eng-GB |
test2.local | path5 | eng-GB |
test2.local | path6 | eng-GB |
test2.local | path7 | eng-GB |
test2.local | path8 | eng-GB |
test2.local | path9 | eng-GB |
test2.local | path10 | eng-GB |
test2.local | path11 | eng-GB |
test2.local | path12 | eng-GB |
test2.local | path13 | eng-GB |
test2.local | path14 | eng-GB |
test2.local | path15 | eng-GB |
test2.local | path16 | eng-GB |
test2.local | path17 | eng-GB |
test2.local | path18 | eng-GB |
test2.local | path19 | eng-GB |
test2.local | path20 | eng-GB |
test2.local | path21 | eng-GB |
test2.local | path22 | eng-GB |
test2.local | path23 | eng-GB |
test2.local | path24 | eng-GB |
test2.local | path25 | eng-GB |
test2.local | path26 | eng-GB |
test2.local | path27 | eng-GB |
test2.local | path28 | eng-GB |
test2.local | path29 | eng-GB |
test2.local | path30 | eng-GB |
7. Go to the Sites list
Expected result:
1) Both Sites are displayed on the Sites list
2) All Public Accessess are displayed
Actual result:
1) Only the last Site is displayed (but the counter says that there is a total of 3 Sites)
2) For the displayed Site only 10 Public Accesses are listed, not 30