From dfd79722270b4f7a6653cb130b6518dcd7bd8c95 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Jul 2015 11:33:51 -0400 Subject: Add new search attribute for swimlane --- app/Template/search/results.php | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'app/Template/search') diff --git a/app/Template/search/results.php b/app/Template/search/results.php index 1d8cc6e2..04cb6a19 100644 --- a/app/Template/search/results.php +++ b/app/Template/search/results.php @@ -1,14 +1,13 @@ - - - + + + + - - getCollection() as $task): ?> @@ -19,6 +18,9 @@ + @@ -38,14 +40,6 @@ - -
order(t('Project'), 'tasks.project_id') ?>order(t('Id'), 'tasks.id') ?>order(t('Column'), 'tasks.column_id') ?>order(t('Category'), 'tasks.category_id') ?>order(t('Id'), 'tasks.id') ?>order(t('Swimlane'), 'tasks.swimlane_id') ?>order(t('Column'), 'tasks.column_id') ?>order(t('Category'), 'tasks.category_id') ?> order(t('Title'), 'tasks.title') ?> order(t('Assignee'), 'users.username') ?> order(t('Due date'), 'tasks.date_due') ?>order(t('Date created'), 'tasks.date_creation') ?>order(t('Date completed'), 'tasks.date_completed') ?> order(t('Status'), 'tasks.is_active') ?>
url->link('#'.$this->e($task['id']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?> + e($task['swimlane_name'] ?: $task['default_swimlane']) ?> + e($task['column_name']) ?> - - - - - - -- cgit v1.2.3