[rt-users] Question about LimitCustomField
    Scott Hebert 
    scott at cae.com
       
    Thu Oct 16 22:04:49 EDT 2003
    
    
  
Hi,
I have a CustomField of type SelectSingle called "Product".
I want to get a list of tickets in a queue for certain products.
If I do this:
$tickets->LimitCustomField(VALUE => "Product 1" , CUSTOMFIELD =>   $cfid);
$tickets->LimitCustomField(VALUE => "Product 2" , CUSTOMFIELD =>   $cfid);
it seems that it attempts to get all the tickets that have BOTH "Product 
1" AND "Product 2" as values for the Custom Field "Product".
How is this possible if the CF is a SelectSingle type? Any ticket can 
only have one value.
Am I missing something?
I'm using RT 3.0.6 , mysql 4.0, apache 2.0.43 and FastCGI.
SH
    
    
More information about the rt-users
mailing list