summaryrefslogtreecommitdiff
path: root/script/core/searcher.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/searcher.lua')
-rw-r--r--script/core/searcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index 61c7c150..7eb11a97 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -559,7 +559,7 @@ function m.searchFields(status, source, mode, field)
getField(status, def, mode)
end
else
- local fullID = id .. noder.SPLIT_CHAR .. field
+ local fullID = ('%s%s%q'):format(id, noder.SPLIT_CHAR, field)
m.searchRefsByID(status, uri, fullID, mode)
end
end