mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 03:23:07 +00:00
Resolve feedback
Inject environment rather than importing it Redo the configuration for better consistency across pages
This commit is contained in:
@@ -204,9 +204,18 @@ export const environment: BuildConfig = {
|
||||
// The absolute lowest year to display in the dropdown (only used when no lowest date can be found for all items)
|
||||
defaultLowerLimit: 1900,
|
||||
},
|
||||
browseCommunities: {
|
||||
communityListPageSize: 20,
|
||||
topLevelPageSize: 5
|
||||
communityList: {
|
||||
pageSize: 20
|
||||
},
|
||||
homePage: {
|
||||
recentSubmissions: {
|
||||
pageSize: 5,
|
||||
//sort record of recent submission
|
||||
sortField: 'dc.date.accessioned',
|
||||
},
|
||||
topLevelCommunityList: {
|
||||
pageSize: 5
|
||||
}
|
||||
},
|
||||
item: {
|
||||
edit: {
|
||||
@@ -256,12 +265,4 @@ export const environment: BuildConfig = {
|
||||
enableEndUserAgreement: true,
|
||||
enablePrivacyStatement: true,
|
||||
},
|
||||
//Home Page
|
||||
homePage: {
|
||||
recentSubmissions: {
|
||||
pageSize: 5,
|
||||
//sort record of recent submission
|
||||
sortField: 'dc.date.accessioned',
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user