protected function preProcessFilters($filters)
    {
        foreach( $filters as $key => $value ) {
            if( $value === true ) {
                $filters[ $key ] = '1';
                continue;
            }

            if( $value === false ) {
                $filters[ $key ] = '0';
                continue;
            }
        }

        return $filters;
    }
protected function preProcessFilters($filters)
    {
        foreach( $filters as $key => $value ) {
            if( $value === true ) {
                $filters[ $key ] = '1';
                continue;
            }

            if( $value === false ) {
                $filters[ $key ] = '0';
                continue;
            }
        }

        return $filters;
    }
protected function preProcessFilters ( $ filters ) { foreach ( $ filters as $ key => $ value ) { if ( $ value === true ) { $ filters [ $ key ] = '1' ; continue ; } if ( $ value === false ) { $ filters [ $ key ] = '0' ; continue ; } } return $ filters ; }
Pre process the filters before applying them to the query builder. By default it will only convert boolean
values to integer values

@param   array $filters          The filters that are to be applied to the query. The key identifies the database column, the value in the array is the value that is to be matched in the query
@return mixed
Pre process the filters before applying them to the query builder . By default it will only convert boolean values to integer values