[Rt-commit] r13267 - in rt/branches/3.8-TESTING: lib/RT/Search
elacour at bestpractical.com
elacour at bestpractical.com
Fri Jun 13 04:23:53 EDT 2008
Author: elacour
Date: Fri Jun 13 04:23:52 2008
New Revision: 13267
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/lib/RT/Search/Googleish.pm
Log:
r9477 at datura: manu | 2008-06-13 10:22:34 +0200
RT-Ticket: 9645
RT-Update: correspond
RT-Status: resolved
Limit SimpleSearch to ticket with ActiveStatuses when searching for Owner.
Modified: rt/branches/3.8-TESTING/lib/RT/Search/Googleish.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Search/Googleish.pm (original)
+++ rt/branches/3.8-TESTING/lib/RT/Search/Googleish.pm Fri Jun 13 04:23:52 2008
@@ -139,6 +139,7 @@
and $User->Privileged )
{
push @owner_clauses, "Owner = '" . $User->Name . "'";
+ push @tql_clauses, join( " OR ", map "Status = '$_'", RT::Queue->ActiveStatusArray());
}
# Else, subject must contain $key
More information about the Rt-commit
mailing list