mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
Fixed bug in BrowseService where findListByHref was called with null instead of undefined, which prevented its default values from being used
This commit is contained in:
@@ -105,7 +105,7 @@ export class BrowseService {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
if (options.fetchThumbnail ) {
|
if (options.fetchThumbnail ) {
|
||||||
return this.hrefOnlyDataService.findListByHref<BrowseEntry>(href$, {}, null, null, ...BROWSE_LINKS_TO_FOLLOW);
|
return this.hrefOnlyDataService.findListByHref<BrowseEntry>(href$, {}, undefined, undefined, ...BROWSE_LINKS_TO_FOLLOW);
|
||||||
}
|
}
|
||||||
return this.hrefOnlyDataService.findListByHref<BrowseEntry>(href$);
|
return this.hrefOnlyDataService.findListByHref<BrowseEntry>(href$);
|
||||||
}
|
}
|
||||||
@@ -153,7 +153,7 @@ export class BrowseService {
|
|||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
if (options.fetchThumbnail) {
|
if (options.fetchThumbnail) {
|
||||||
return this.hrefOnlyDataService.findListByHref<Item>(href$, {}, null, null, ...BROWSE_LINKS_TO_FOLLOW);
|
return this.hrefOnlyDataService.findListByHref<Item>(href$, {}, undefined, undefined, ...BROWSE_LINKS_TO_FOLLOW);
|
||||||
}
|
}
|
||||||
return this.hrefOnlyDataService.findListByHref<Item>(href$);
|
return this.hrefOnlyDataService.findListByHref<Item>(href$);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user