diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-02-08 16:22:07 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-02-08 16:22:07 -0800 |
commit | f545571ead3feee00e99e0947a2346c5369c9836 (patch) | |
tree | 9d38f8c957d598dcf4715f40cd48bf56258d45be | |
parent | 60cad42d5098f9d55d9215e3d87a234eaaa7dc2e (diff) |
fix slight mistake in "fix ticketing system error on bootstrap of new install" -- revert to RT 4.0 style query
-rw-r--r-- | httemplate/elements/notify-tickets.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/httemplate/elements/notify-tickets.html b/httemplate/elements/notify-tickets.html index 35917c34d..37a4e8456 100644 --- a/httemplate/elements/notify-tickets.html +++ b/httemplate/elements/notify-tickets.html @@ -25,7 +25,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; |