Module:ET sort key: Difference between revisions
Bugfix |
Bugfix |
||
Line 11: | Line 11: | ||
function p._et_sort_key(tuning) | function p._et_sort_key(tuning) | ||
local et = ET.parse(tuning) | local et = ET.parse(tuning) | ||
local size = et.size | local size = tostring(et.size) | ||
local sort_key = string.rep("#", size:count("%d")) | local sort_key = string.rep("#", size:count("%d")) | ||
return sort_key | return sort_key |