From 3b5a4f95191d844fed46f99b407ed607d2ef6898 Mon Sep 17 00:00:00 2001 From: Lucas Terriel Date: Mon, 27 May 2024 16:13:13 +0200 Subject: [PATCH] update Nosketch search box to add more than 1 word in CQL query + update typo in register card --- src/components/RegisterNoSketchSearchBox.vue | 1 - 1 file changed, 1 deletion(-) 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`;