[turba] Re: Advanced search - defaults to OR?

John Dalbec jpdalbec at ysu.edu
Fri Nov 7 10:47:19 PST 2003



Chuck Hagenbuch wrote:

> Quoting John Dalbec <jpdalbec at ysu.edu>:
> 
> 
>>In turba/lib/Source.php:
>>      * @param const $match       (optional) Do an 'and' or an 'or' search
>>(defaults to TURBA_SEARCH_AND).
> 
> 
> I guess you're talking about RELENG? Because I don't see any of this in the
> latest CVS.

Horde 2.2.4, Turba 1.2.1.  Sorry.
CVS Source.php has:
      * @param string $search_type  (optional) Do an AND or an OR search 
(defaults to AND).
      *
      * @return                   The sorted, filtered list of search results.
      */
     function &search($search_criteria, $sort_criteria = 'lastname',
                      $search_type = 'AND', $sort_direction = 0)

...so I guess I should change the default search type in Source.php.
Thanks,
John
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck at horde.org>
> "I am not that interested in green food." - Average Joe
> 



More information about the turba mailing list