We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dea2ebc commit d21fec9Copy full SHA for d21fec9
entry/models.py
@@ -1787,7 +1787,7 @@ def _set_attrinfo_data(model):
1787
attrinfo["value"] = truncate(attrv.value)
1788
1789
elif entity_attr.type & AttrTypeValue["boolean"]:
1790
- attrinfo["value"] = attrv.boolean
+ attrinfo["value"] = str(attrv.boolean)
1791
1792
elif entity_attr.type & AttrTypeValue["date"]:
1793
attrinfo["date_value"] = attrv.date.strftime("%Y-%m-%d") if attrv.date else None
0 commit comments