From 288f9cb3a237453bf2e7dc4eeb6a0255073f8f40 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 16 Nov 2009 17:20:05 +0100 Subject: [PATCH] Include future tasks if requesting incomplete tasks. --- kronolith/ajax.php | 2 +- kronolith/templates/index/tasks.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kronolith/ajax.php b/kronolith/ajax.php index 251de7697..0f753efa5 100644 --- a/kronolith/ajax.php +++ b/kronolith/ajax.php @@ -334,7 +334,7 @@ try { $tasklist = Horde_Util::getFormData('list'); $tasktype = Horde_Util::getFormData('type'); $tasks = $registry->call('tasks/listTasks', - array(null, null, null, $tasklist, $tasktype == 'future' ? 'all' : $tasktype, true)); + array(null, null, null, $tasklist, $tasktype == 'incomplete' ? 'future_incomplete' : $tasktype, true)); if (is_a($tasks, 'PEAR_Error')) { $notification->push($tasks, 'horde.error'); break; diff --git a/kronolith/templates/index/tasks.inc b/kronolith/templates/index/tasks.inc index a472f1562..8ac21c8e7 100644 --- a/kronolith/templates/index/tasks.inc +++ b/kronolith/templates/index/tasks.inc @@ -4,7 +4,7 @@