diff --git a/frontend/src/semantic-search/semantic-search-view.ts b/frontend/src/semantic-search/semantic-search-view.ts index aa814f8f..bed70fa2 100644 --- a/frontend/src/semantic-search/semantic-search-view.ts +++ b/frontend/src/semantic-search/semantic-search-view.ts @@ -5,6 +5,7 @@ import { CompositeView } from '../core/view'; import Multifield from '../forms/multifield-view'; import semChannel from './radio'; +import modelToQuery from './modelToQuery'; import Chain from './chain-view'; import Multibranch from './multibranch-view'; import semTemplate from './semantic-search-template'; @@ -38,7 +39,7 @@ export default class SemanticSearchView extends CompositeView { onSubmit(event): void { event.preventDefault(); - console.debug(JSON.stringify(this.model, null, 4)); + console.debug(modelToQuery(this.model)); } }