Skip to content

Commit 7657918

Browse files
[DURACOM-445] add new property for authority relations
1 parent 346bdb8 commit 7657918

4 files changed

Lines changed: 8 additions & 1 deletion

File tree

config/config.example.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,8 @@ item:
393393
pageSize: 5
394394
# Show the bitstream access status label on the item page
395395
showAccessStatuses: false
396-
396+
# Enable authority based relations in item page
397+
showAuthorithyRelations: false
397398
# Community Page Config
398399
community:
399400
# Default tab to be shown when browsing a Community. Valid values are: comcols, search, or browse_<field>

src/config/default-app-config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,9 @@ export class DefaultAppConfig implements AppConfig {
346346
// Show the bitstream access status label
347347
showAccessStatuses: false,
348348
},
349+
// If true, the search result in item page will display relations based on authority.
350+
// If false,the search result in item page will display default DSpace relations.
351+
showAuthorithyRelations: false,
349352
};
350353

351354
// Community Page Config

src/config/item-config.interface.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ export interface ItemConfig extends Config {
1515
// Show the bitstream access status label
1616
showAccessStatuses: boolean;
1717
}
18+
19+
showAuthorithyRelations: boolean;
1820
}

src/environments/environment.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ export const environment: BuildConfig = {
290290
// Show the bitstream access status label
291291
showAccessStatuses: false,
292292
},
293+
showAuthorithyRelations: false,
293294
},
294295
community: {
295296
defaultBrowseTab: 'search',

0 commit comments

Comments
 (0)