mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
Added global config for list thumbnails
This commit is contained in:
@@ -105,10 +105,8 @@ export class BrowseService {
|
||||
return href;
|
||||
})
|
||||
);
|
||||
|
||||
if (options.metadataDefinition == 'title' || options.metadataDefinition == 'dateissued' ) {
|
||||
if (options.embedThumbnail) {
|
||||
return this.hrefOnlyDataService.findAllByHref<BrowseEntry>(href$, {}, null, null, ...BROWSE_ENTRY_LINKS_TO_FOLLOW);
|
||||
|
||||
}
|
||||
return this.hrefOnlyDataService.findAllByHref<BrowseEntry>(href$);
|
||||
}
|
||||
@@ -155,7 +153,7 @@ export class BrowseService {
|
||||
return href;
|
||||
}),
|
||||
);
|
||||
if (options.metadataDefinition == 'title' || options.metadataDefinition == 'dateissued' || hasValue(filterValue)) {
|
||||
if (options.embedThumbnail) {
|
||||
return this.hrefOnlyDataService.findAllByHref<Item>(href$, {}, null, null, ...BROWSE_ITEM_LINKS_TO_FOLLOW);
|
||||
}
|
||||
return this.hrefOnlyDataService.findAllByHref<Item>(href$);
|
||||
|
Reference in New Issue
Block a user