diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/core/searcher.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua index 9acc4e8e..0e8ce04c 100644 --- a/script/core/searcher.lua +++ b/script/core/searcher.lua @@ -763,7 +763,6 @@ function m.searchRefsByID(status, suri, expect, mode) local crossed = {} if mode == 'def' or mode == 'alldef' - or mode == 'field' or field then for _, guri in ceach('def:' .. id) do if uri == guri then @@ -777,9 +776,6 @@ function m.searchRefsByID(status, suri, expect, mode) if crossed[guri] then goto CONTINUE end - if mode == 'def' or mode == 'alldef' or mode == 'field' then - goto CONTINUE - end if uri == guri then goto CONTINUE end |