added "decimal" to nummeric types, to fix PostgreSQL error (bug #2105)

This commit is contained in:
Ralf Becker 2011-04-10 15:12:43 +00:00
parent da7b427480
commit f9444ae1cd

View File

@ -1070,7 +1070,7 @@ class so_sql
* Special handling for numeric columns. They are only considered if the pattern is numeric.
* If the pattern is numeric, an equality search is used instead.
*/
$numeric_types = array('auto', 'int', 'float', 'double');
$numeric_types = array('auto', 'int', 'float', 'double', 'decimal');
$numeric_columns = array();
if(!$search_cols)