import {CatalogSearchContext, CatalogBrowseContext, CatalogMarcContext,
CatalogTermContext, FacetFilter} from './search-context';
import {CATALOG_CCVM_FILTERS} from './search-context';
+import {HashParams} from '@eg/share/util/hash-params';
@Injectable()
export class CatalogUrlService {
return params;
}
+ fromUrlHash(params: any): CatalogSearchContext {
+ return this.fromUrlParams(new HashParams(params));
+ }
+
/**
* Creates a new search context from the active route params.
*/