diff --git a/ChangeLog b/ChangeLog index 038ddfd87..06514985b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ $Source$ 2003-07-24 Marc Delisle * libraries/sqlparser.lib.php3 /relation.lib.php3 /get_foreign.lib.php3: bug 772765, InnoDB and multi-columns foreign key + * tbl_select.php3: LIKE in Select sub-page for non-text fields 2003-07-23 Alexander M. Turek * libraries/mysql_charsets.lib.php3: diff --git a/tbl_select.php3 b/tbl_select.php3 index f8380371d..a236d0c15 100755 --- a/tbl_select.php3 +++ b/tbl_select.php3 @@ -14,8 +14,10 @@ require('./libraries/relation.lib.php3'); // foreign keys /** * Defines arrays of functions (should possibly be in config.inc.php3 * so it can also be used in tbl_qbe.php3) + * + * LIKE works also on integers and dates so I added it in numfunctions */ -$numfunctions = array('=', '>', '>=', '<', '<=', '!='); +$numfunctions = array('=', '>', '>=', '<', '<=', '!=', 'LIKE'); $textfunctions = array('LIKE', '=', '!=');