[freeside-commits] branch master updated. a7a655a033bb6913e721d0cb8105244b894331b9
Mark Wells
mark at 420.am
Wed Jul 13 17:47:42 PDT 2016
The branch, master has been updated
via a7a655a033bb6913e721d0cb8105244b894331b9 (commit)
from 1db161f21c577aeded3240c0783a10da77d639de (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a7a655a033bb6913e721d0cb8105244b894331b9
Author: Mark Wells <mark at freeside.biz>
Date: Wed Jul 13 17:40:24 2016 -0700
also hide unreplied status for Deleted tickets, #41670
diff --git a/rt/lib/RT/Search/UnrepliedTickets.pm b/rt/lib/RT/Search/UnrepliedTickets.pm
index 7870d42..0328983 100644
--- a/rt/lib/RT/Search/UnrepliedTickets.pm
+++ b/rt/lib/RT/Search/UnrepliedTickets.pm
@@ -38,18 +38,14 @@ sub Prepare {
VALUE => $TicketsObj->CurrentUser->id
);
}
- $TicketsObj->Limit(
- FIELD => 'Status',
- OPERATOR => '!=',
- ENTRYAGGREGATOR => 'AND',
- VALUE => 'resolved'
- );
- $TicketsObj->Limit(
- FIELD => 'Status',
- OPERATOR => '!=',
- ENTRYAGGREGATOR => 'AND',
- VALUE => 'rejected',
- );
+ foreach my $status (qw(resolved rejected deleted)) {
+ $TicketsObj->Limit(
+ FIELD => 'Status',
+ OPERATOR => '!=',
+ ENTRYAGGREGATOR => 'AND',
+ VALUE => $status,
+ );
+ }
my $txn_alias = $TicketsObj->JoinTransactions;
$TicketsObj->Limit(
ALIAS => $txn_alias,
-----------------------------------------------------------------------
Summary of changes:
rt/lib/RT/Search/UnrepliedTickets.pm | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
More information about the freeside-commits
mailing list