forked from geolba/tethys.frontend
Addition of "doctype"/datatype as another possible facet and search element to use
This commit is contained in:
parent
110c2db8bf
commit
03a55f6a58
7 changed files with 42 additions and 10 deletions
|
@ -108,7 +108,7 @@ export default class SearchViewComponent extends Vue {
|
|||
// this.rdrAPI = new DatasetService();
|
||||
// Trigger search based on provided display and type props
|
||||
if (this.display != "" && this.type != undefined) {
|
||||
const enumKey: "Title" | "Author" | "Subject" | null = this.getEnumKeyByEnumValue(SearchType, this.type);
|
||||
const enumKey: "Title" | "Author" | "Subject" | "Doctype" | null = this.getEnumKeyByEnumValue(SearchType, this.type);
|
||||
if (enumKey) {
|
||||
const suggestion = new Suggestion(this.display, "NO-IDEA", SearchType[enumKey]);
|
||||
// const suggestion = new Suggestion(this.display, "" , SearchType[enumKey]);
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue