projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3421281
)
hide unreplied status for Rejected tickets, #41670
author
Mark Wells
<mark@freeside.biz>
Sat, 11 Jun 2016 19:23:54 +0000
(12:23 -0700)
committer
Mark Wells
<mark@freeside.biz>
Mon, 13 Jun 2016 20:15:23 +0000
(13:15 -0700)
rt/lib/RT/Search/UnrepliedTickets.pm
patch
|
blob
|
history
diff --git
a/rt/lib/RT/Search/UnrepliedTickets.pm
b/rt/lib/RT/Search/UnrepliedTickets.pm
index
611675a
..
a4fdacd
100644
(file)
--- a/
rt/lib/RT/Search/UnrepliedTickets.pm
+++ b/
rt/lib/RT/Search/UnrepliedTickets.pm
@@
-6,9
+6,9
@@
=head1 DESCRIPTION
=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
=head1 METHODS
@@
-40,6
+40,11
@@
sub Prepare {
OPERATOR => '!=',
VALUE => 'resolved'
);
OPERATOR => '!=',
VALUE => 'resolved'
);
+ $TicketsObj->Limit(
+ FIELD => 'Status',
+ OPERATOR => '!=',
+ VALUE => 'rejected',
+ );
my $txn_alias = $TicketsObj->JoinTransactions;
$TicketsObj->RT::SearchBuilder::Limit(
ALIAS => $txn_alias,
my $txn_alias = $TicketsObj->JoinTransactions;
$TicketsObj->RT::SearchBuilder::Limit(
ALIAS => $txn_alias,