From d7b2dbf66cd62d094266ea111dd138983067cde9 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 23 Dec 2005 04:11:37 +0000 Subject: [PATCH] r681: Add priority/severity to the listing pages --- index.php | 2 ++ search.php | 2 ++ templates/search_results.tpl | 1 + templates/trackerhome.tpl | 1 + templates/trackerhome_bits.tpl | 4 ++++ 5 files changed, 10 insertions(+) diff --git a/index.php b/index.php index f4a84c1..5bb91bc 100644 --- a/index.php +++ b/index.php @@ -65,6 +65,8 @@ while ($bug = $db->fetch_array($bugs_fetch)) $bug['version'] = $bugsys->datastore['version']["$bug[versionid]"]['version']; $bug['status'] = $bugsys->datastore['status']["$bug[status]"]['status']; $bug['resolution'] = $bugsys->datastore['resolution']["$bug[resolution]"]['resolution']; + $bug['priority'] = $bugsys->datastore['priority']["$bug[priority]"]['priority']; + $bug['severity'] = $bugsys->datastore['severity']["$bug[severity]"]['severity']; $bug['hiddendisplay'] = ((!can_perform('canviewhidden', $bug['productid']) AND $bug['hiddenlastposttime']) ? true : false); diff --git a/search.php b/search.php index 9c0d433..36e6463 100644 --- a/search.php +++ b/search.php @@ -399,6 +399,8 @@ if ($_REQUEST['do'] == 'results') $bug['version'] = $bugsys->datastore['version']["$bug[versionid]"]['version']; $bug['status'] = $bugsys->datastore['status']["$bug[status]"]['status']; $bug['resolution'] = $bugsys->datastore['resolution']["$bug[resolution]"]['resolution']; + $bug['priority'] = $bugsys->datastore['priority']["$bug[priority]"]['priority']; + $bug['severity'] = $bugsys->datastore['severity']["$bug[severity]"]['severity']; $bug['lastposttime'] = (($bug['hiddendisplay']) ? $bug['hiddenlastposttime'] : $bug['lastposttime']); $bug['lastpost'] = (($bug['hiddendisplay']) ? $bug['hiddenlastpost'] : $bug['lastpost']); $bug['lastposttime'] = $datef->format($bugsys->options['dateformat'], $bug['lastposttime']); diff --git a/templates/search_results.tpl b/templates/search_results.tpl index 7460593..b471203 100644 --- a/templates/search_results.tpl +++ b/templates/search_results.tpl @@ -19,6 +19,7 @@ $header {@"ID"} {@"Summary/Reporter"} + {@"Priority/Severity"} {@"Status/Resolution"} {@"Product/Version"} {@"Last Post"} diff --git a/templates/trackerhome.tpl b/templates/trackerhome.tpl index 7ee9566..f11fd2a 100644 --- a/templates/trackerhome.tpl +++ b/templates/trackerhome.tpl @@ -13,6 +13,7 @@ $header {@"ID"} {@"Summary/Reporter"} + {@"Priority/Severity"} {@"Status/Resolution"} {@"Product/Version"} {@"Last Post"} diff --git a/templates/trackerhome_bits.tpl b/templates/trackerhome_bits.tpl index af55b5f..4b53cc1 100644 --- a/templates/trackerhome_bits.tpl +++ b/templates/trackerhome_bits.tpl @@ -6,6 +6,10 @@
$bug[summary]
$bug[firstreport]
+ +
$bug[severity]
+
$bug[priority]
+
$bug[status]
$bug[resolution]
-- 2.22.5