101289: #1578 Changed primarybitstream field to primaryBitstreamUUID

This commit is contained in:
lotte
2023-04-26 13:47:39 +02:00
parent 94f52721d4
commit 3ee09834b1
2 changed files with 4 additions and 4 deletions

View File

@@ -371,7 +371,7 @@ export class EditBitstreamPageComponent implements OnInit, OnDestroy {
* Path to patch primary bitstream on the bundle * Path to patch primary bitstream on the bundle
* @private * @private
*/ */
private readonly primaryBitstreamPath = '/primarybitstream'; private readonly primaryBitstreamPath = '/primaryBitstreamUUID';
constructor(private route: ActivatedRoute, constructor(private route: ActivatedRoute,
private router: Router, private router: Router,

View File

@@ -1,4 +1,4 @@
import { autoserializeAs, deserialize, inheritSerialization } from 'cerialize'; import { autoserialize, deserialize, inheritSerialization } from 'cerialize';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
@@ -30,9 +30,9 @@ export class Bundle extends DSpaceObject {
}; };
/** /**
* The ID of the primaryBitstream of this Bundle * The UUID of the primaryBitstream of this Bundle
*/ */
@autoserializeAs('primarybitstream') @autoserialize
primaryBitstreamUUID: string; primaryBitstreamUUID: string;
/** /**