diff options
author | Mark Wells <mark@freeside.biz> | 2016-06-11 12:23:54 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-06-11 23:22:31 -0700 |
commit | 9456eceed9d729643d1bec05ed1b380bbd1bc8ab (patch) | |
tree | 4f795600bcfc0599bd5376bd6a490ab5ec1d4a55 /rt/lib | |
parent | d02f1d8fb338e4dd1b401892b3408a65cad3b4d4 (diff) |
hide unreplied status for Rejected tickets, #41670
Diffstat (limited to 'rt/lib')
-rw-r--r-- | rt/lib/RT/Search/UnrepliedTickets.pm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/rt/lib/RT/Search/UnrepliedTickets.pm b/rt/lib/RT/Search/UnrepliedTickets.pm index a996901..4bb59d9 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 @@ -39,6 +39,11 @@ sub Prepare { OPERATOR => '!=', VALUE => 'resolved' ); + $TicketsObj->Limit( + FIELD => 'Status', + OPERATOR => '!=', + VALUE => 'rejected', + ); my $txn_alias = $TicketsObj->JoinTransactions; $TicketsObj->Limit( ALIAS => $txn_alias, |