summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-06-11 12:23:54 -0700
committerMark Wells <mark@freeside.biz>2016-06-13 13:15:23 -0700
commitab9d36b614da17d0f3b8ec4f63dfa849d193ff70 (patch)
tree6baaa291d5c7cd6e0fc6704bdb3661b268c855b3 /rt
parent3421281a654c222339ac9439763e73387f762ad2 (diff)
hide unreplied status for Rejected tickets, #41670
Diffstat (limited to 'rt')
-rw-r--r--rt/lib/RT/Search/UnrepliedTickets.pm11
1 files changed, 8 insertions, 3 deletions
diff --git a/rt/lib/RT/Search/UnrepliedTickets.pm b/rt/lib/RT/Search/UnrepliedTickets.pm
index 611675a66..a4fdacd22 100644
--- a/rt/lib/RT/Search/UnrepliedTickets.pm
+++ b/rt/lib/RT/Search/UnrepliedTickets.pm
@@ -6,9 +6,9 @@
=head1 DESCRIPTION
-Find all unresolved tickets owned by the current user where the last correspondence
-from a requestor (or ticket creation) is more recent than the last
-correspondence from a non-requestor (if there is any).
+Find all unresolved tickets owned by the current user where the last
+correspondence from a requestor (or ticket creation) is more recent than the
+last correspondence from a non-requestor (if there is any).
=head1 METHODS
@@ -40,6 +40,11 @@ sub Prepare {
OPERATOR => '!=',
VALUE => 'resolved'
);
+ $TicketsObj->Limit(
+ FIELD => 'Status',
+ OPERATOR => '!=',
+ VALUE => 'rejected',
+ );
my $txn_alias = $TicketsObj->JoinTransactions;
$TicketsObj->RT::SearchBuilder::Limit(
ALIAS => $txn_alias,