50463: use search/facet endpoint to retrieve facet values

This commit is contained in:
Lotte Hofstede
2018-03-20 11:39:51 +01:00
parent 3f36e0371e
commit cdf1dc402a
18 changed files with 236 additions and 97 deletions

View File

@@ -1,10 +1,9 @@
import { Inject, Injectable } from '@angular/core';
import { Injectable } from '@angular/core';
import { ConfigService } from './config.service';
import { ResponseCacheService } from '../cache/response-cache.service';
import { RequestService } from '../data/request.service';
import { GLOBAL_CONFIG } from '../../../config';
import { GlobalConfig } from '../../../config/global-config.interface';
import { HALEndpointService } from '../shared/hal-endpoint.service';
@Injectable()
export class SubmissionFormsConfigService extends ConfigService {
@@ -14,7 +13,7 @@ export class SubmissionFormsConfigService extends ConfigService {
constructor(
protected responseCache: ResponseCacheService,
protected requestService: RequestService,
@Inject(GLOBAL_CONFIG) protected EnvConfig: GlobalConfig) {
protected halService: HALEndpointService) {
super();
}