Need to set numeric types to check

This commit is contained in:
Nathan Gray 2010-04-01 20:07:01 +00:00
parent d22773d04d
commit fa6c1d4a9c

View File

@ -1184,6 +1184,7 @@ class so_sql
{
$skip_columns_with = array('_id', 'modified', 'modifier', 'status', 'cat_id', 'owner');
$search_cols = is_null($this->columns_to_search) ? $this->db_cols : $this->columns_to_search;
$numeric_types = array('auto', 'int', 'float', 'double');
// Skip some numeric columns that don't make sense to search if we have to default to all columns
if(is_null($this->columns_to_search))