Merge pull request #1771 from mwoodiupui/browse-pagesize

Make the size of a browse result page configurable.
This commit is contained in:
Tim Donohue
2022-09-21 11:22:46 -05:00
committed by GitHub
10 changed files with 65 additions and 25 deletions

View File

@@ -209,7 +209,11 @@ export class DefaultAppConfig implements AppConfig {
// Limit for years to display using jumps of five years (current year - fiveYearLimit)
fiveYearLimit: 30,
// The absolute lowest year to display in the dropdown (only used when no lowest date can be found for all items)
defaultLowerLimit: 1900
defaultLowerLimit: 1900,
// The number of entries in a paginated browse results list.
// Rounded to the nearest size in the list of selectable sizes on the
// settings menu. See pageSizeOptions in 'pagination-component-options.model.ts'.
pageSize: 20
};
communityList: CommunityListConfig = {