[Rt-devel] Number of custom field in search

Patrick Rousseau-Mathieu prouss at cae.com
Mon Apr 11 13:41:42 EDT 2005

Hi, I've got a problem with custom field in the search. I need to know the
number of custom in a search to used it in 

So I've added a session var in: $RTPATH/local/html/Search/Results.html
at the beginning of the <%init>. Like this:

my $count = 0;
for ($Query =~ m/CF/g ) {

$session{'nbCFinSearch'} = $count;

Then I want to know how many CustomField there is in :

But when i use the session var, it's always empty or undef ...

Is there any other way... idea?



More information about the Rt-devel mailing list