The value of boolean fields is returned as integer, which is bad if you want to export your data to e.g. JSON where it is also serialized as 0/1 integer instead of true/false boolean. Patch attached.

Comments

fago’s picture

Status: Needs review » Needs work

Have you tried that with a list of boolean values & cardinality > 1 ? I'd think the type would be list<boolean> then.

klausi’s picture

Status: Needs work » Needs review
StatusFileSize
new1.17 KB

Right, added a check for list<boolean> and tested it on a field with multiple boolean values. Patch attached.

fago’s picture

thanks, committed.

fago’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.