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 eaf30899..c97237d0 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -366,7 +366,7 @@ function m.searchRefsByID(status, uri, expect, mode)
end
local function checkBackward(id, node, field)
- if mode ~= 'ref' and not field then
+ if mode ~= 'ref' and not field or ignoredIDs[id] then
return
end
for _, backwardID in ipairs(node.backward) do