Ruslan Zakirov wrote:
On Tue, Nov 29, 2011 at 12:41 PM, Bart <[email protected]> wrote:
Could you try this condition:

$tickets->LimitSubject( VALUE => “^Sprint %”, OPERATOR => 'LIKE' );

It wouldn't work. Most times it's easier to use
$tickets->FromSQL("Queue = 'x' AND (Status ...)") instead of Limit*
calls. LIKE adding % around arguments is historical thing. Use
MATCHES.

Our use of RT has lead us to patch SearchBuilder to NOT include the % in front and back of the search term but to leave it to the enduser the ask for wildcard searches. Big bonus: actual use of the indexes.

Joop

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — TBA

Reply via email to