Drupal Association members fund grants that make connections all over the world.
I want to create a list of content sorted by checkbox value.
I've created a Single on/off checkbox with
Field type integer
Widget type: single on/off checkbox
In Allowed Values:
0 | no
1 | yes
In node edit checkbox state is always unchecked - 0. In node view the checkbox shows up on the node correctly. If I don't check it, the value remains 0. Then, if I check it, the value becomes 1. The fields are stored well in de DB and show up when loaded in Devel.
but in node edit checkbox is always 0 | no after I set checkbox to yes.