Skip to content

Commit

Permalink
update Nosketch search box to add more than 1 word in CQL query + upd…
Browse files Browse the repository at this point in the history
…ate typo in register card
  • Loading branch information
Lucaterre committed May 27, 2024
1 parent 30db0f5 commit 3b5a4f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/RegisterNoSketchSearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 <doc (date >="${this.yearRange[0]}") & (date<="${this.yearRange[1]}") />`);
let baseNoSketchUrl = `${this.noSketchService}#concordance`;
Expand Down

0 comments on commit 3b5a4f9

Please # to comment.