[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-48-g3630286
Emannuel Lacour
elacour at bestpractical.com
Fri May 14 12:01:57 EDT 2010
The branch, 3.8-trunk has been updated
via 363028622172a779aa54e4f0aa5f779c44df72c5 (commit)
from 747595b8abd123483b66c2e2e5b6fd557fa78899 (commit)
Summary of changes:
lib/RT/Search/Googleish.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 363028622172a779aa54e4f0aa5f779c44df72c5
Author: Emmanuel Lacour <elacour at easter-eggs.com>
Date: Fri May 14 18:01:48 2010 +0200
Don't search for disabled queues in simple search
diff --git a/lib/RT/Search/Googleish.pm b/lib/RT/Search/Googleish.pm
index 4c14c47..fa9c890 100644
--- a/lib/RT/Search/Googleish.pm
+++ b/lib/RT/Search/Googleish.pm
@@ -143,7 +143,8 @@ sub QueryToSQL {
# Is there a queue named $key?
elsif ( $Queue = RT::Queue->new( $self->TicketsObj->CurrentUser )
and $Queue->Load($key)
- and $Queue->id )
+ and $Queue->id
+ and not $Queue->Disabled )
{
my $quoted_queue = $Queue->Name;
$quoted_queue =~ s/'/\\'/g;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list