Skip to content

Commit c4e09bf

Browse files
atarix83Andrea Barbasso
authored andcommitted
Merged in task/dspace-cris-2023_02_x/DSC-1889 (pull request DSpace#2146)
Fix Cache issues when editing an item Approved-by: Andrea Barbasso
2 parents e6c7d44 + 9fe1e8f commit c4e09bf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/app/item-page/item.resolver.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const ITEM_PAGE_LINKS_TO_FOLLOW: FollowLinkConfig<Item>[] = [
2020
),
2121
followLink('relationships'),
2222
followLink('version', {}, followLink('versionhistory')),
23+
followLink('bundles', {}, followLink('bitstreams')),
2324
followLink('thumbnail'),
2425
followLink('metrics')
2526
];
@@ -45,7 +46,7 @@ export class ItemResolver implements Resolve<RemoteData<Item>> {
4546
*/
4647
resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<RemoteData<Item>> {
4748
const itemRD$ = this.itemService.findById(route.params.id,
48-
true,
49+
false,
4950
false,
5051
...ITEM_PAGE_LINKS_TO_FOLLOW
5152
).pipe(

0 commit comments

Comments
 (0)