This was sent to the list a long time ago, my apologies for not remembering who sent it.(Espen Wiborg or Gordon maybe?)....It works on 3.8.1. Not sure if it is what you are looking for or not though


Index: lib/RT/Search/Googleish.pm
===================================================================
--- lib/RT/Search/Googleish.pm  (revision 15777)
+++ lib/RT/Search/Googleish.pm  (working copy)
@@ -162,7 +162,7 @@
    push @tql_clauses, join( " OR ", sort @id_clauses );
    push @tql_clauses, join( " OR ", sort @owner_clauses );
    if ( ! @status_clauses ) {
- push @tql_clauses, join( " OR ", map "Status = '$_'", RT::Queue->ActiveStatusArray()); + push @tql_clauses, join( " OR ", map "Status = '$_'", RT::Queue->ActiveStatusArray(), RT->Config- >Get('ExtraStatesInSimpleSearch'));
    } else {
        push @tql_clauses, join( " OR ", sort @status_clauses );
    }
Index: etc/RT_Config.pm.in
===================================================================
--- etc/RT_Config.pm.in (revision 15777)
+++ etc/RT_Config.pm.in (working copy)
@@ -1117,6 +1117,15 @@

Set($DontSearchFileAttachments, undef);

+=item C<$ExtraStatesInSimpleSearch>
+
+Tickets in these states are included in the results of a simple
+search, along with any active tickets.
+
+=cut
+
+Set(@ExtraStatesInSimpleSearch, qw());
+
=item C<$ChartFont>

The L<GD> module (which RT uses for graphs) uses a builtin font that doesn't


I don't remember who made this, but it is working for me...

Then I put in RT_SiteConfig.pm



Greg Evans
[email protected]
Hood Canal Communications
(360) 898-2481 x212




On May 26, 2009, at 7:41 AM, Jeff Lucas wrote:

Hello folks.
I searched thru RT_Config.pm and the RT Wiki but could not find the answer… it appears that the Simple Search tool in RT only reports on unresolved tickets. Is that true? If so, can someone tell me how to adjust RT so that it reports on ALL tickets containing the keyword in the ticket subject regardless of status?
Thanks.
-Jeff
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [email protected]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [email protected]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to