Commits

Kristof De Langhe authored 369a6dfaea9
62063: JSDocs and comments
No tags

config/environment.default.js

Modified
143 143 active: false,
144 144 }],
145 145 // Browse-By Pages
146 146 browseBy: {
147 147 // Amount of years to display using jumps of one year (current year - oneYearLimit)
148 148 oneYearLimit: 10,
149 149 // Limit for years to display using jumps of five years (current year - fiveYearLimit)
150 150 fiveYearLimit: 30,
151 151 // The absolute lowest year to display in the dropdown (only used when no lowest date can be found for all items)
152 152 defaultLowerLimit: 1900,
153 + // List of all the active Browse-By types
154 + // Adding a type will activate their Browse-By page and add them to the global navigation menu, as well as community and collection pages
155 + // Allowed fields and their purpose:
156 + // metadata: The browse id to use for fetching info from the rest api
157 + // type: The type of Browse-By page to display
158 + // metadataField: The metadata-field used to create starts-with options (only necessary when the type is set to 'date')
153 159 types: [
154 160 {
155 161 metadata: 'title',
156 162 type: 'title'
157 163 },
158 164 {
159 165 metadata: 'dateissued',
160 166 type: 'date',
161 167 metadataField: 'dc.date.issued'
162 168 },

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut