make search config optional (#4303)

This commit is contained in:
Denys Vuika
2019-02-18 14:54:57 +00:00
committed by Eugenio Romano
parent 9e5a5ae0a3
commit f8549d43aa

View File

@@ -61,7 +61,9 @@ export class SearchQueryBuilderService {
this._userQuery = value ? `(${value})` : '';
}
config: SearchConfiguration;
config: SearchConfiguration = {
categories: []
};
// TODO: to be supported in future iterations
ranges: { [id: string]: SearchRange } = {};