59695: PR Feedback - scope fix, startsWith fix, starts-with month

This commit is contained in:
Kristof De Langhe
2019-02-26 13:38:46 +01:00
parent 212bff2f0e
commit bb3e9c43fb
7 changed files with 205 additions and 22 deletions

View File

@@ -99,7 +99,7 @@ export class BrowseService {
map((href: string) => {
// TODO nearly identical to PaginatedSearchOptions => refactor
const args = [];
if (isNotEmpty(options.sort)) {
if (isNotEmpty(options.scope)) {
args.push(`scope=${options.scope}`);
}
if (isNotEmpty(options.sort)) {
@@ -135,7 +135,7 @@ export class BrowseService {
hasValueOperator(),
map((href: string) => {
const args = [];
if (isNotEmpty(options.sort)) {
if (isNotEmpty(options.scope)) {
args.push(`scope=${options.scope}`);
}
if (isNotEmpty(options.sort)) {