[imp] [ingo] Only have contains and not contains tests

Michael M Slusarz slusarz at horde.org
Wed Jan 10 08:42:19 PST 2007


Quoting Jerome Eteve <jerome at careerjet.com>:

> Hi all.
>  I'm using ingo 1.1.2 and for string field, I only got
> 'contains' and 'not contains' choices for the test.
>
> In file lib/Storage.php, there seem to be more tests availables
>
>        /* The type of tests available. */
>         $types = array(
>             'int'  => array(
>                 'less than', 'less than or equal to', 'greater than',
>                 'greater than or equal to', 'equal', 'not equal'
>             ),
>             'none' => array(
>                 'exists', 'not exist'
>             ),
>             'text' => array(
>                 'contains', 'not contain', 'is', 'not is', 'begins with',
>                 'not begins with', 'ends with', 'not ends with', 'regex',
>                 'matches', 'not matches'
>             )
>         );
>
>
> Why cant I see all the text tests in the interface ? What am I  
> getting wrong ?

Nothing.  It's just that your backend (you didn't tell us what backend  
your are using) doesn't support anything more than 'contains' and 'not  
contain'.  So the rest are disabled.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list