Skip to content

Commit

Permalink
add fuse search tag translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Louwen, Nico committed Sep 27, 2023
1 parent 1d6ac68 commit 5595769
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ BigscapeFunc.filterUtil.formatLeaf = function (target, search_terms) {
// restrict to specific term if given
if (target.indexOf("[") > 0) {
var search = target.slice(0, target.indexOf("["))
var term = target.slice(target.indexOf("[") + 1, -1)
var term = BigscapeFunc.filterUtil.transl_syntax[target.slice(target.indexOf("[") + 1, -1)]
return { [term]: search }
} else {
// otherwise, add all possible terms
Expand Down

0 comments on commit 5595769

Please sign in to comment.