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:
ba7725a
)
3.x fix
author
Mark Wells
<mark@freeside.biz>
Wed, 23 Nov 2016 23:14:24 +0000
(15:14 -0800)
committer
Mark Wells
<mark@freeside.biz>
Wed, 23 Nov 2016 23:14:24 +0000
(15:14 -0800)
httemplate/elements/notify-tickets.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/notify-tickets.html
b/httemplate/elements/notify-tickets.html
index
16a04f4
..
9e9020a
100644
(file)
--- a/
httemplate/elements/notify-tickets.html
+++ b/
httemplate/elements/notify-tickets.html
@@
-24,7
+24,12
@@
if ($enabled) {
# if there are no tickets the current user could see, always hide it
my $AnyTickets = RT::Tickets->new($CurrentUser);
foreach my $status (qw(resolved rejected deleted)) {
- $AnyTickets->LimitStatus( OPERATOR => '!=', VALUE => $status );
+ $AnyTickets->RT::SearchBuilder::Limit(
+ FIELD => 'Status',
+ OPERATOR => '!=',
+ ENTRYAGGREGATOR => 'AND',
+ VALUE => $status,
+ );
}
$enabled = 0 if $AnyTickets->Count == 0;