From 4325e569fda2c7477f9d0f3455b209caec545c00 Mon Sep 17 00:00:00 2001 From: Art Lowel Date: Fri, 16 Jun 2017 09:19:00 +0200 Subject: [PATCH] switched to 'retrieve' as the property for a bitstream's file url --- .../logo/collection-page-logo.component.html | 4 ++-- src/app/core/cache/models/normalized-bitstream.model.ts | 2 +- src/app/core/shared/bitstream.model.ts | 7 +------ 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/app/collection-page/logo/collection-page-logo.component.html b/src/app/collection-page/logo/collection-page-logo.component.html index 1c331e2e25..090bbe3bbd 100644 --- a/src/app/collection-page/logo/collection-page-logo.component.html +++ b/src/app/collection-page/logo/collection-page-logo.component.html @@ -1,3 +1,3 @@ \ No newline at end of file + Collection logo + diff --git a/src/app/core/cache/models/normalized-bitstream.model.ts b/src/app/core/cache/models/normalized-bitstream.model.ts index e90a5b1a5f..43a4b9f057 100644 --- a/src/app/core/cache/models/normalized-bitstream.model.ts +++ b/src/app/core/cache/models/normalized-bitstream.model.ts @@ -18,7 +18,7 @@ export class NormalizedBitstream extends NormalizedDSpaceObject { * The relative path to this Bitstream's file */ @autoserialize - url: string; + retrieve: string; /** * The mime type of this Bitstream diff --git a/src/app/core/shared/bitstream.model.ts b/src/app/core/shared/bitstream.model.ts index 3dd134478f..86ff99b3eb 100644 --- a/src/app/core/shared/bitstream.model.ts +++ b/src/app/core/shared/bitstream.model.ts @@ -9,11 +9,6 @@ export class Bitstream extends DSpaceObject { */ size: number; - /** - * The relative path to this Bitstream's file - */ - url: string; - /** * The mime type of this Bitstream */ @@ -40,7 +35,7 @@ export class Bitstream extends DSpaceObject { owner: RemoteData; /** - * The Bundle that owns this Bitstream + * The URL to retrieve this Bitstream's file */ retrieve: string;