Re: [otrs] Boolean search

2011-01-24 Thread Martin Edenhofer
Hi,

On 21.01.2011, at 10:08, Roy Kaldung wrote:
>> Is it possible to do boolean searches (using the API) - (for example:
>> from=em...@address.com or freetextfield1=somevalue) or do I have to do
> two
>> separate searches and intersect the results myself?
> 
> Hi, 
> Checkout the optional parameter ContentSearch of the API.

http://dev.otrs.org/cvs/Kernel/System/Ticket.html#item_ticketsearch

One additional note, the ContentSearch param:

# content search (AND or OR) (optional)
ContentSearch => 'AND',

is only for From, To, Cc, Subject and Body. So here you can do an boolean 
search (I improved the documentation just right now).

For the use case above From OR FreeText1 it's not working.

> Roy

 -Martin

http://edenhofer.de/-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Re: [otrs] Boolean search

2011-01-21 Thread Roy Kaldung
On Thu, 20 Jan 2011 21:04:32 -0600 (CST), Kristofer Pettijohn
 wrote:
> Hello, 
> 
> Is it possible to do boolean searches (using the API) - (for example:
> from=em...@address.com or freetextfield1=somevalue) or do I have to do
two
> separate searches and intersect the results myself?
 
Hi, 
Checkout the optional parameter ContentSearch of the API.

Roy

-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


[otrs] Boolean search

2011-01-20 Thread Kristofer Pettijohn
Hello, 

Is it possible to do boolean searches (using the API) - (for example: 
from=em...@address.com or freetextfield1=somevalue) or do I have to do two 
separate searches and intersect the results myself? 


-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs