Skip to content

Commit

Permalink
Merge pull request #11 from webcloud7/mle-prepare-final-release
Browse files Browse the repository at this point in the history
No longer add * to search term
  • Loading branch information
maethu committed May 31, 2023
2 parents a668a06 + 1ef3943 commit e3e490b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Changelog
=========


4.0.0b3 (unreleased)
4.0.0 (unreleased)
--------------------

- Nothing changed yet.
- No longer add * to search term. [mathias.leimgruber]


4.0.0b2 (2023-05-22)
Expand Down
2 changes: 1 addition & 1 deletion ftw/referencewidget/resources/dist/referencewidget.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -6080,7 +6080,7 @@ const _sfc_main = {
const currentURL = new URL(this.data["@id"]);
let options = { "path.query": currentURL.pathname, "path.depth": 1 };
if (this.formData.searchTerm.length > 2) {
options.SearchableText = "*" + this.formData.searchTerm + "*";
options.SearchableText = this.formData.searchTerm;
options["path.depth"] = -1;
}
this.fetchData(url, options);
Expand Down
2 changes: 1 addition & 1 deletion ftw/referencewidget/resources/dist/referencewidget.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ftw/referencewidget/resources/src/widget/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export default {
const currentURL = new URL(this.data["@id"]);
let options = { "path.query": currentURL.pathname, "path.depth": 1 };
if (this.formData.searchTerm.length > 2) {
options.SearchableText = "*" + this.formData.searchTerm + "*";
options.SearchableText = this.formData.searchTerm;
options["path.depth"] = -1;
}
this.fetchData(url, options);
Expand Down

0 comments on commit e3e490b

Please sign in to comment.