In database format 3, the sort_l column in the category table is defined as string[1] with default value '2', but in the code it is always handled as number. It works fine because the SQLite3 library is tolerant regarding types and does implicit retyping. But it is strange and should be fixed with the next database version.
When entering a category the console shows the error message:
SQL3: unexpected datatype 3 instead of SQLITE_INTEGER for column 8
that's more a bug, to be fixed in database version 4
Ticket moved from /p/karatasi/bugs/205/
Can't be converted: