[Rt-commit] rt branch, 4.4/use-status-active, updated. rt-4.4.0-58-gab1d6c9

Shawn Moore shawn at bestpractical.com
Thu Feb 18 18:31:07 EST 2016


The branch, 4.4/use-status-active has been updated
       via  ab1d6c9fa41d3b555cf3cc41eb7debb397644af1 (commit)
      from  d84afa6f43c283a1452bf1cb22bdc38cb20b8c37 (commit)

Summary of changes:
 share/html/Elements/ShowReminders | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit ab1d6c9fa41d3b555cf3cc41eb7debb397644af1
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Thu Feb 18 18:30:57 2016 -0500

    Use Status = '__Active__' for reminders
    
    Fixes: I#31178

diff --git a/share/html/Elements/ShowReminders b/share/html/Elements/ShowReminders
index 2101a26..460e1e7 100644
--- a/share/html/Elements/ShowReminders
+++ b/share/html/Elements/ShowReminders
@@ -90,7 +90,7 @@ if ( my $ticket= $targets->First ) {
 my $reminders = RT::Tickets->new($session{'CurrentUser'});
 my $tsql = 'Type = "reminder"' .
            ' AND ( Owner = "Nobody" OR Owner ="' . $session{'CurrentUser'}->id . '")' .
-           ' AND ( Status = "new" OR Status = "open" )';
+           ' AND Status = "__Active__"';
 
 $tsql .= ' AND ( Due < "now" OR Due IS NULL )' if $OnlyOverdue;
 

-----------------------------------------------------------------------


More information about the rt-commit mailing list