Conversation
|
@artlowel : Assigning to you in case you have a chance to review this quickly (as I'm heading off on one last holiday tomorrow) |
|
This is ready for review. |
|
@tdonohue , @artlowel , this PR was merged into 7.4 but I want to run something by you. It might be a problem. As noted above, the PR adds an optional So in 7.4, it looks like the sub lists default to 10 items. That's probably an unintended change from 7.3, although I personally prefer it. IMHO, the |
|
It's hard to find examples on the demo site. Here's one community with more than 5 collections. https://demo7.dspace.org/communities/7328bdc7-7ce8-4f0d-8fad-a347a06388e8 It would be great to hear that this isn't new behavior. |
|
@mspalti : I honestly don't recall what the pagination behavior was prior to this PR...so that's not something I can answer. If the pagination defaults changed slightly, I also don't consider that a major concern until/unless someone complains. However, if you see a bug here in that the page is still using a hardcoded pageSize, then I'd recommend creating a bug ticket & describing what you see and how to reproduce it. That way we can find a volunteer to help fix that hardcode pageSize. |
…Space#1748) Fix several issue with SSR Approved-by: Andrea Barbasso
Description
This PR converts
CommunityPageSubCommunityListComponentandCommunityPageSubCollectionListComponentinto theme-able components.It also introduces a new optional
pageSizeInput to these two components. The new input allows the user to override the hard-coded default page size of "5" .For example, this change in the theme's version of
community-page.component.htmlwill set the initial page size to 20 results.Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!
yarn run lintpackage.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.