mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
DS-4529 External authorities endpoint doesn't support the pagination
This commit is contained in:
@@ -89,10 +89,10 @@ public class ExternalSourceRestRepository extends DSpaceRestRepository<ExternalS
|
||||
}
|
||||
|
||||
@Override
|
||||
@PreAuthorize("permitAll()")
|
||||
public Page<ExternalSourceRest> findAll(Context context, Pageable pageable) {
|
||||
List<ExternalDataProvider> externalSources = externalDataService.getExternalDataProviders();
|
||||
return converter.toRestPage(externalSources, pageable, externalSources.size(),
|
||||
utils.obtainProjection());
|
||||
return converter.toRestPage(externalSources, pageable, utils.obtainProjection());
|
||||
}
|
||||
|
||||
public Class<ExternalSourceRest> getDomainClass() {
|
||||
|
Reference in New Issue
Block a user