[ingo] Change default AND to OR in filter conditions

Ben Chavet ben at horde.org
Fri Jul 7 09:24:33 PDT 2006


> Does anyone know where to make Ingo OR the filter conditions by default
> when creating a new rule instead of AND'ing them.  I would have thought
> OR would be more commonly used.

in Ingo_Storage_filters::getDefaultRule() in ingo/lib/Storage.php,  
change the value for 'combine' from INGO_STORAGE_COMBINE_ALL to  
INGO_STORAGE_COMBINE_ANY. (Line 809, give or take).  If you'd like  
this to be a configuration option or a user preference, create an  
enhancement ticket on bugs.horde.org.  Patches welcome!

--Ben


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/ingo/attachments/20060707/567f81da/attachment.bin


More information about the ingo mailing list