[Rt-commit] rt branch, 4.2-trunk, updated. rt-4.2.3-86-ge0dce4b
Alex Vandiver
alexmv at bestpractical.com
Thu Apr 17 12:59:47 EDT 2014
The branch, 4.2-trunk has been updated
via e0dce4bd0563be7a21870fd7380fbd1a404219e4 (commit)
via de0f882e27a63873652a04b7585323fa86f867a8 (commit)
from ecbc4141587d384ad94e9a34a821a4751f7a3eed (commit)
Summary of changes:
share/html/Elements/ShowReminders | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit de0f882e27a63873652a04b7585323fa86f867a8
Author: Christian Loos <cloos at netcologne.de>
Date: Thu Apr 10 14:20:30 2014 +0200
show reminder without due if $OnlyOverdue is true
This restores back the behavior from RT 4.0 to show reminders without due if
$OnlyOverdue is set to true.
e60885aa changed the meaning of "Due < 'now'" to no longer include tickets
whose dates are unset.
diff --git a/share/html/Elements/ShowReminders b/share/html/Elements/ShowReminders
index 28d7945..85b2b70 100644
--- a/share/html/Elements/ShowReminders
+++ b/share/html/Elements/ShowReminders
@@ -91,7 +91,7 @@ my $tsql = 'Type = "reminder"' .
' AND ( Owner = "Nobody" OR Owner ="' . $session{'CurrentUser'}->id . '")' .
' AND ( Status = "new" OR Status = "open" )';
-$tsql .= ' AND Due < "now"' if $OnlyOverdue;
+$tsql .= ' AND ( Due < "now" OR Due IS NULL )' if $OnlyOverdue;
$reminders->FromSQL($tsql);
$reminders->OrderBy( FIELD => 'Due', ORDER => 'ASC' );
commit e0dce4bd0563be7a21870fd7380fbd1a404219e4
Merge: ecbc414 de0f882
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Apr 17 12:38:05 2014 -0400
Merge branch '4.2/fix-reminder-without-due' into 4.2-trunk
-----------------------------------------------------------------------
More information about the rt-commit
mailing list