Module:JI ratios: Difference between revisions

Ganaram inukshuk (talk | contribs)
comment out lines that mention "preprocess_fine_search_args", as preprocessing is already done by template-invokable function
Ganaram inukshuk (talk | contribs)
m as a temporary fix, set default tenney height to positive infinity, and complements-only to false
Line 342: Line 342:
if args["Tenney Height"] ~= nil then
if args["Tenney Height"] ~= nil then
args["Tenney Height"] = tonumber(args["Tenney Height"])
args["Tenney Height"] = tonumber(args["Tenney Height"]) or math.huge
end
end
Line 358: Line 358:
if args["Complements Only"] ~= nil then
if args["Complements Only"] ~= nil then
args["Complements Only"] = yesno(args["Complements Only"])
args["Complements Only"] = yesno(args["Complements Only"], false)
end
end