I have a custom content table for an elementType. I have a few fields set up in my Record
as boolean. The two fields are approved
and denied
I have to search the database where both fields are set to zero/false.
I can only get the values to show up in $query->params
inside my modifyElementsQuery()
method when I set $criteria->approved/denied
to (string)"1". Setting these to true, false, or (string)"0" cause them to not show up in the $query->params
list.
How do I work with a boolean field in this manner? I need Where denied = '0'
to show up in the query when i set $criteria->denied = false