From 3ff8162b8e50d2901f6533c5bcb6703bbdaaeccf Mon Sep 17 00:00:00 2001 From: Trappist the monk Date: Mon, 19 Oct 2026 13:31:21 +1300 Subject: [PATCH] editor count, compare numbers to numbers --- module_citeq.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_citeq.lua b/module_citeq.lua index b2dbb72..409f723 100644 --- a/module_citeq.lua +++ b/module_citeq.lua @@ -838,7 +838,7 @@ local function _cite_q (citeq_args) end end for i, editor in pairs(names.editors or {}) do - if not editor.last and i <= (citeq_args['display-editors'] or editor_count) then + if not editor.last and i <= (tonumber (citeq_args['display-editors']) or tonumber (editor_count)) then if editor.qid then -- ignore anonymous if editor.qid ~= 'Q4233718' then