59695: Refactored startsWith to browse-by-metadata-page

This commit is contained in:
Kristof De Langhe
2019-02-11 16:17:33 +01:00
parent 10f3e985f1
commit 8e9116f14f
6 changed files with 44 additions and 60 deletions

View File

@@ -108,6 +108,9 @@ export class BrowseService {
args.push(`page=${options.pagination.currentPage - 1}`);
args.push(`size=${options.pagination.pageSize}`);
}
if (isNotEmpty(options.startsWith)) {
args.push(`startsWith=${options.startsWith}`);
}
if (isNotEmpty(args)) {
href = new URLCombiner(href, `?${args.join('&')}`).toString();
}