[Rt-devel] Custom Field search bug in 3.4 HEAD

Patrick Rousseau-Mathieu prouss at cae.com
Wed Apr 13 07:27:38 EDT 2005

I, I'm trying to fix this bug and I've got a problem.

the problem is that I need to know the number of customField selected in a
search to used it in the function _CustomFieldLimit  in the file
$RTPATH/local/lib/RT/Tickets_Overlay.pm. So then I can do a loop to and some
JOIN and WHERE clause in the query. 

But I can't find where and witch function is calling _CustomFieldLimit. So
if i found the calling function, I can just pass some more argument to
_CustomFieldLimit to know how many customField there is in the query and
then the query should be working fine.

any idea?



-----Original Message-----
From: rt-devel-bounces at lists.bestpractical.com
[mailto:rt-devel-bounces at lists.bestpractical.com]On Behalf Of Todd
Sent: Tuesday, March 22, 2005 2:42 PM
To: rt-devel at bestpractical.com
Subject: [Rt-devel] Custom Field search bug in 3.4 HEAD

Try these searches at rt3.fsck.com with format:

'   <b><a href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#',
'__CustomField.{Found In}__',
'__CustomField.{Fix In}__'

Search 1:

 Queue = 'RTIR'  AND 'CF.{Found In}' = '1.0' 

 (2 tickets found)

Search 2:

 Queue = 'RTIR'  AND 'CF.{Found In}' = '1.0'  AND 'CF.{Fix In}' = '1.2.0

 (0 tickets found - should be 1)

Rt-devel mailing list
Rt-devel at lists.bestpractical.com

More information about the Rt-devel mailing list