Skip to content

Commit

Permalink
After click on Item link you won't be redirected to handle url. (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
milanmajchrak committed Jun 19, 2024
1 parent c25ca02 commit 051d718
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { Bitstream } from '../../core/shared/bitstream.model';
import { LicenseType } from '../../item-page/clarin-license-info/clarin-license-info.component';
import { ListableObject } from '../object-collection/shared/listable-object.model';
import { ItemSearchResult } from '../object-collection/shared/item-search-result.model';
import { getItemPageRoute } from '../../item-page/item-page-routing-paths';

/**
* Show item on the Home/Search page in the customized box with Item's information.
Expand Down Expand Up @@ -118,7 +119,7 @@ export class ClarinItemBoxViewComponent implements OnInit {
// Load Items metadata
this.itemType = this.item?.metadata?.['dc.type']?.[0]?.value;
this.itemName = this.item?.metadata?.['dc.title']?.[0]?.value;
this.itemUri = this.item?.metadata?.['dc.identifier.uri']?.[0]?.value;
this.itemUri = getItemPageRoute(this.item);
this.itemDescription = this.item?.metadata?.['dc.description']?.[0]?.value;

await this.assignBaseUrl();
Expand Down

0 comments on commit 051d718

Please sign in to comment.