diff --git a/src/components/RegisterNoSketchSearchBox.vue b/src/components/RegisterNoSketchSearchBox.vue index 7829490..0aa4a4f 100644 --- a/src/components/RegisterNoSketchSearchBox.vue +++ b/src/components/RegisterNoSketchSearchBox.vue @@ -48,7 +48,6 @@ export default { _prepareNoSketchRequest() { let wordsSplitted = this.NoSketchTermSearch.split(" "); let wordsPrepared = wordsSplitted.map(word => `[word="${word}"]`).join("") - // if wordsPrepared contains [word=""] then we remove all occurences be careful to Unnecessary escape character: \" wordsPrepared = wordsPrepared.replace(/\[word=""]/g, ""); let cqlQuery = encodeURIComponent(`${wordsPrepared} within ="${this.yearRange[0]}") & (date<="${this.yearRange[1]}") />`); let baseNoSketchUrl = `${this.noSketchService}#concordance`;