Open ddean4040 opened 11 months ago
@ddean4040 : I'll admit, I'm not sure what those comments are even saying. I don't know whether they are implying that communityList.pageSize
should work, or if they are saying it should NOT work because the component always overrides that config.
Regardless, I agree it's odd behavior. I'll leave this open and move to our maintenance board in search of a volunteer.
That said, I'm not sure if the solution should be for the communityList.pageSize
to control these page sizes, as that configuration was created to control the /community-list
page (e.g. https://demo.dspace.org/community-list). Instead, we might need to determine whether there should be a similar pageSize element on the Community Homepage.
@tdonohue - Fair enough and thanks for looking into it :)
As of DSpace 7.6 we currently have:
browseBy.pageSize
communityList.pageSize
homePage.recentSubmissions.pageSize
homePage.topLevelCommunityList.pageSize
I don't know what the settings should be called, but I think having a configurable page size for sub-community and sub-collection lists is reasonable.
Note: I see that the custom
theme themes the communityPage
component as well as the community-page-sub-community-list
and community-page-sub-collection-list
components. It should be possible to override the pageSize then...
Describe the bug The docblocks for
pageSize
in community-page-sub-collection-list.component.ts and community-page-sub-community-list.component.ts indicate that the default value comes fromcommunityList.pageSize
.Changing
communityList.pageSize
has no effect on the page size on these pages.To Reproduce Steps to reproduce the behavior:
communityList.pageSize
in the site config (env or config.yml)Expected behavior Default page size should change