From b8ef45730cf52a661dd5e1b8c7ea404b51410482 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 10 Dec 2006 00:25:06 +0000 Subject: [PATCH] r1346: - Can now sort by version - Add the word "by" to the lastpost column --- includes/class_sort.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/class_sort.php b/includes/class_sort.php index 4d47d6f..8d5fac0 100644 --- a/includes/class_sort.php +++ b/includes/class_sort.php @@ -146,6 +146,8 @@ class ListSorter LIMIT $limit" : ""); break; case 'product': + case 'component': + case 'version': case 'status': case 'resolution': case 'priority': @@ -185,6 +187,7 @@ class ListSorter 'summary' => _('Summary'), 'reporter' => _('Reporter'), 'product' => _('Product'), + 'version' => _('Version'), 'status' => _('Status'), 'resolution' => _('Resolution'), 'priority' => _('Priority'), @@ -406,7 +409,7 @@ class ListSorter case 'userid': return ($bug['userid'] ? $bug['username'] : _('Guest')); case 'lastpost': - return $bug['lastposttime'] . "\n\t\t
" . ($bug['lastpost'] ? $bug['lastpost'] : _('Guest')); + return $bug['lastposttime'] . "\n\t\t
" . _('by') . ' ' . ($bug['lastpost'] ? $bug['lastpost'] : _('Guest')); default: return $bug["$column"]; } -- 2.43.5