File tree Expand file tree Collapse file tree
src/app/item-page/full/field-components/file-section Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,9 +67,10 @@ export class FullFileSectionComponent extends FileSectionComponent implements On
6767
6868 initialize ( ) : void {
6969 this . originals$ = this . paginationService . getCurrentPagination ( this . originalOptions . id , this . originalOptions ) . pipe (
70- switchMap ( ( options : PaginationComponentOptions ) => this . bitstreamDataService . findAllByItemAndBundleName (
71- this . item ,
70+ switchMap ( ( options : PaginationComponentOptions ) => this . bitstreamDataService . showableByItem (
71+ this . item . uuid ,
7272 'ORIGINAL' ,
73+ [ ] ,
7374 { elementsPerPage : options . pageSize , currentPage : options . currentPage } ,
7475 true ,
7576 true ,
@@ -85,9 +86,10 @@ export class FullFileSectionComponent extends FileSectionComponent implements On
8586 ) ;
8687
8788 this . licenses$ = this . paginationService . getCurrentPagination ( this . licenseOptions . id , this . licenseOptions ) . pipe (
88- switchMap ( ( options : PaginationComponentOptions ) => this . bitstreamDataService . findAllByItemAndBundleName (
89- this . item ,
89+ switchMap ( ( options : PaginationComponentOptions ) => this . bitstreamDataService . showableByItem (
90+ this . item . uuid ,
9091 'LICENSE' ,
92+ [ ] ,
9193 { elementsPerPage : options . pageSize , currentPage : options . currentPage } ,
9294 true ,
9395 true ,
You can’t perform that action at this time.
0 commit comments