Max,<br><br>I may be wrong, but I thought that with 3.8+ all you had to do for Quicksearh staus values was setin the Active staus in RT_SiteConfig.pm, which you did. I didn't think anything else needed to be done.<br><br>
Kenn<br>LBNL<br><br><div class="gmail_quote">On Tue, Jun 15, 2010 at 6:45 PM, Max McGrath <span dir="ltr"><<a href="mailto:mmcgrath@carthage.edu">mmcgrath@carthage.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all -<div><br></div><div>Running RT 3.8.8 on Ubuntu 9.10.<br><div><br></div><div>I was attempting to get the <b>resolved </b>status to show up in the Quicksearch box on the home page -- I had this working in 3.8.7 but it reverted back to the default way with the upgrade to 3.8.8.</div>


<div><br></div><div>I, however, seemed to have screwed it up majorly and I now get the following on my home page:</div><div><br></div><div><span style="font-family: arial,helvetica,sans-serif; font-size: 13px; line-height: 16px;">Error during compilation of /opt/rt3/local/html/Elements/Quicksearch: syntax error at /opt/rt3/local/html/Elements/Quicksearch line 54, near "[." syntax error at /opt/rt3/local/html/Elements/Quicksearch line 58, near "}]" syntax error at /opt/rt3/local/html/Elements/Quicksearch line 60, near "} }" syntax error at /opt/rt3/local/html/Elements/Quicksearch line 64, near "}"</span></div>


<div><font face="arial, helvetica, sans-serif"><span style="line-height: 16px;"><br></span></font></div>

<div><font face="arial, helvetica, sans-serif"><span style="line-height: 16px;">So, if someone could either help me get my Quicksearch working with the resolved status or without the resolved status that'd be great!  I just want it working again! :)</span></font></div>


<div><font face="arial, helvetica, sans-serif"><span style="line-height: 16px;"><br></span></font></div>

<div><font face="arial, helvetica, sans-serif"><span style="line-height: 16px;">Here is my config of /opt/rt3/local/html/Quicksearch/Elements/Quicksearch:</span></font></div>

<div><font face="arial, helvetica, sans-serif"><span style="line-height: 16px;"><br></span></font></div>

<div><font face="arial, helvetica, sans-serif"><span style="line-height: 16px;"><div><br></div>

<div><div class="ticket-overview"></div><div><&|/Widgets/TitleBox, title => loc("Quick search"), bodyclass => "",</div><div>   titleright => loc("Edit"), titleright_href => RT->Config->Get('WebPath').'/Prefs/Quicksearch.html' &></div>


<div><& /Elements/QueueSummary,</div><div>   cache => 'quick_search_queues',</div><div>   queue_filter => sub { $_->CurrentUserHasRight('ShowTicket') && !exists $unwanted->{$_->Name} },</div>


<div>conditions => [. {cond => "Status = 'new'", name => loc ('new') },</div><div>{cond => "Status = 'open'", name => loc</div><div>('open') },</div><div>


{cond => "Status = 'resolved'", name => loc</div><div>('resolved') }]</div><div>&></div><div></&></div><div></div></div><div><%INIT></div><div>my $unwanted = $session{'CurrentUser'}->UserObj->Preferences('QuickSearch', {});</div>


<div><br></div><div>my @conditions = ();</div><div>foreach ( RT::Queue->ActiveStatusArray ) {</div><div>    push @conditions, { cond => "Status = '$_'", name => loc($_) };</div><div>}</div><div>


<br></div></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height: 16px;">I have also put the following in my RT_SiteConfig.pm:</span></font></div>

<div><font face="arial, helvetica, sans-serif"><span style="line-height: 16px;"><br></span></font></div>

<div><font face="arial, helvetica, sans-serif"><span style="line-height: 16px;"><div>Set(@ActiveStatus, qw(</div>

<div>        new open resolved));</div><div><br></div><div>Am I missing something?  Thanks!</div><div><br></div><div>Max</div></span></font>--<br>Max McGrath<br>Asst. Network Admin/Systems Specialist<br>Carthage College<br>


262-552-5512<br><a href="mailto:mmcgrath@carthage.edu" target="_blank">mmcgrath@carthage.edu</a><br>
</div></div>
<br><br>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
Buy a copy at <a href="http://rtbook.bestpractical.com" target="_blank">http://rtbook.bestpractical.com</a><br></blockquote></div><br>