From: Jan Schneider Date: Mon, 16 Nov 2009 16:20:05 +0000 (+0100) Subject: Include future tasks if requesting incomplete tasks. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=288f9cb3a237453bf2e7dc4eeb6a0255073f8f40;p=horde.git Include future tasks if requesting incomplete tasks. --- 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 @@