From fa6c1d4a9c4e54b1b23ba26e8e7f241ce2c1cd38 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 1 Apr 2010 20:07:01 +0000 Subject: [PATCH] Need to set numeric types to check --- etemplate/inc/class.so_sql.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/etemplate/inc/class.so_sql.inc.php b/etemplate/inc/class.so_sql.inc.php index 1a049b8a71..d03bb4678b 100644 --- a/etemplate/inc/class.so_sql.inc.php +++ b/etemplate/inc/class.so_sql.inc.php @@ -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))