Oh, It differences is insertion place of the filter.
Did you use plugin versions 1.1.15?
The filter needs to be added to the get_data within the method of cdbt.class.php.
The right place is as follows:
function get_data($table_name, $columns='*', $conditions=null, $order=array('created'=>'desc'), $limit=null, $offset=null) {
global $wpdb;
list(, , $table_schema) = $this->get_table_schema($table_name);
$select_clause = is_array($columns) ? implode(',', $columns) : (!empty($columns) ? $columns : '*');
$where_clause = $order_clause = $limit_clause = null;
if (!empty($conditions)) {
$i = 0;
foreach ($conditions as $key => $val) {
if (array_key_exists($key, $table_schema)) {
if ($i == 0) {
$where_clause = "WHERE <code>$key</code> = '$val' ";
} else {
$where_clause .= "AND <code>$key</code> = '$val' ";
}
$i++;
} else {
continue;
}
}
}
$where_clause = apply_filters( 'cdbt_get_data_conditions', $where_clause, $table_name, $conditions );
if (!empty($order)) {
$i = 0;
foreach ($order as $key => $val) {
if (array_key_exists($key, $table_schema)) {
$val = strtoupper($val) == 'DESC' ? 'DESC' : 'ASC';
if ($i == 0) {
$order_clause = "ORDER BY <code>$key</code> $val ";
} else {
$order_clause .= ", <code>$key</code> $val ";
}
$i++;
} else {
continue;
}
}
}
if (!empty($limit)) {
$limit_clause = "LIMIT ";
$limit_clause .= (!empty($offset)) ? intval($offset) .', '. intval($limit) : intval($limit);
}
$sql = sprintf(
"SELECT %s FROM <code>%s</code> %s %s %s",
$select_clause,
$table_name,
$where_clause,
$order_clause,
$limit_clause
);
return $wpdb->get_results($sql);
}
After correct the position of the filter, please try again.