<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ruslan Zakirov wrote:
<blockquote
cite="mid:CAMOxC8shBtvFfVYY7xAOTCDG8=XgZgPd2TaZitMk6V_qDM_G2g@mail.gmail.com"
type="cite">
<pre wrap="">On Tue, Nov 29, 2011 at 12:41 PM, Bart <a class="moz-txt-link-rfc2396E" href="mailto:bart@pleh.info"><bart@pleh.info></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Could you try this condition:
$tickets->LimitSubject( VALUE => “^Sprint %”, OPERATOR => 'LIKE' );
</pre>
</blockquote>
<pre wrap=""><!---->
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.
</pre>
</blockquote>
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.<br>
<br>
Joop<br>
<br>
</body>
</html>