small fixes for search

This commit is contained in:
lotte
2019-05-16 13:43:07 +02:00
parent 5254308b8b
commit 487ee9f756
5 changed files with 4 additions and 12 deletions

View File

@@ -90,14 +90,14 @@ export class CollectionPageComponent implements OnInit {
dsoType: DSpaceObjectType.ITEM
})).pipe(toDSpaceObjectListRD()) as Observable<RemoteData<PaginatedList<Item>>>
}),
startWith(undefined) // Make sure switching page shows loading component
startWith(undefined) // Make sure switching pages shows loading component
)
)
);
this.route.queryParams.pipe(take(1)).subscribe((params) => {
this.metadata.processRemoteData(this.collectionRD$);
this.onPaginationChange(params)
this.onPaginationChange(params);
})
}