mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
101289: #1578 Changed primarybitstream field to primaryBitstreamUUID
This commit is contained in:
@@ -371,7 +371,7 @@ export class EditBitstreamPageComponent implements OnInit, OnDestroy {
|
||||
* Path to patch primary bitstream on the bundle
|
||||
* @private
|
||||
*/
|
||||
private readonly primaryBitstreamPath = '/primarybitstream';
|
||||
private readonly primaryBitstreamPath = '/primaryBitstreamUUID';
|
||||
|
||||
constructor(private route: ActivatedRoute,
|
||||
private router: Router,
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { autoserializeAs, deserialize, inheritSerialization } from 'cerialize';
|
||||
import { autoserialize, deserialize, inheritSerialization } from 'cerialize';
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user