projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.16
[freeside.git]
/
rt
/
lib
/
RT
/
Search
/
ActiveTicketsInQueue.pm
diff --git
a/rt/lib/RT/Search/ActiveTicketsInQueue.pm
b/rt/lib/RT/Search/ActiveTicketsInQueue.pm
index
8a97118
..
9b2e7f6
100644
(file)
--- a/
rt/lib/RT/Search/ActiveTicketsInQueue.pm
+++ b/
rt/lib/RT/Search/ActiveTicketsInQueue.pm
@@
-2,7
+2,7
@@
#
# COPYRIGHT:
#
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-201
2
Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-201
9
Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
@@
-66,6
+66,7
@@
Find all active tickets in the queue named in the argument passed in
package RT::Search::ActiveTicketsInQueue;
use strict;
package RT::Search::ActiveTicketsInQueue;
use strict;
+use warnings;
use base qw(RT::Search);
use base qw(RT::Search);
@@
-78,10
+79,7
@@
sub Prepare {
my $self = shift;
$self->TicketsObj->LimitQueue(VALUE => $self->Argument);
my $self = shift;
$self->TicketsObj->LimitQueue(VALUE => $self->Argument);
-
- foreach my $status (RT::Queue->ActiveStatusArray()) {
- $self->TicketsObj->LimitStatus(VALUE => $status);
- }
+ $self->TicketsObj->LimitToActiveStatus;
return(1);
}
return(1);
}