LIKE in Select sub-page for non-text fields

This commit is contained in:
Marc Delisle
2003-07-24 14:06:36 +00:00
parent fd979ea10b
commit b83e44556c
2 changed files with 4 additions and 1 deletions

View File

@@ -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', '=', '!=');