Inline edit checkbox column set meta to 0 when unchecked
I am using Admin Columns Pro with Toolset Types, I have created a simple checkbox custom field and in Toolset Types I have configured it to store ‘1’ if the field is checked, and when unchecked save 0 to the database. In the All Posts admin screen I have ACP setup to show the toolset field with inline editing, if I check the field then ‘1’ is saved to the database for the custom checkbox field, however I then uncheck the field all data for the field is removed from the database instead of saving a ‘0’ to the database. This is breaking some of the filters I have setup in Toolset Views as it’s looking for a ‘0’.
Are you able to fix this please?
You must be logged in to reply to this topic.