Hello,

Currently, all "pageSize" style variables will only accept (or round to) one of 
the default pageSizeOptions​ listed here: 
https://github.com/DSpace/dspace-angular/blob/main/src/app/shared/pagination/pagination-component-options.model.ts#L25

So, to show 27, you'd want to specify the next highest value in that list, 
which is 40.

Tim


________________________________
From: [email protected] <[email protected]> on behalf of 
Night Librarian <[email protected]>
Sent: Saturday, October 22, 2022 6:48 PM
To: DSpace Technical Support <[email protected]>
Subject: Re: [dspace-tech] show all communities on home-page

Greetings!

My home page was showing 5 out 27 communities in 7.2. I upgrade to 7.4 and set 
topLevelCommunityList.pageSize to 27.  It started to display 20 out 27 
communities.  I changed it to 30, but it still shows 20 out 27.

  topLevelCommunityList:
    # No. of communities to list per page on the home page
    # This will always round to the nearest number from the list of page sizes. 
e.g. if you set it to 7 it'll use 10
    pageSize: 30

Perhaps there is a place where I could edit /add page sizes, because it looks 
like default in most files I see is 5 for some things and 20 for some others?

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/ed50f2c4-a682-452c-86b1-69c37da03c4an%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/ed50f2c4-a682-452c-86b1-69c37da03c4an%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/PH0PR22MB32740872EB814AD080FCA3BAED2E9%40PH0PR22MB3274.namprd22.prod.outlook.com.

Reply via email to