Quote:
Originally Posted by chaley
I've submitted a fix to Kovid.
The specific problem is that the fake metadata for your rating column is text, which can't convert to a number. You can work around the problem until my fix is released by changing
Code:
miVal = field ("#mi_val");
to
Code:
miVal = format_number($#mi_val, 'd');
The format_number() function changes invalid text to the empty string, which is interpreted as 0 in a numeric context.
|
Thank you, I've changed it and it works

Anyway, I'd already solved my problem, as it was a small change, and notepad++ over json complains less