editor count, compare numbers to numbers
This commit is contained in:
parent
c259ed2704
commit
3ff8162b8e
1 changed files with 1 additions and 1 deletions
|
|
@ -838,7 +838,7 @@ local function _cite_q (citeq_args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
for i, editor in pairs(names.editors or {}) do
|
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
|
if editor.qid then
|
||||||
-- ignore anonymous
|
-- ignore anonymous
|
||||||
if editor.qid ~= 'Q4233718' then
|
if editor.qid ~= 'Q4233718' then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue