|
From: Benjamin C. <bc...@us...> - 2002-10-22 20:34:51
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv24282
Modified Files:
bug.php
Log Message:
Added display of the bug ids a bug blocks.
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -r1.120 -r1.121
--- bug.php 18 Oct 2002 17:38:19 -0000 1.120
+++ bug.php 22 Oct 2002 20:34:48 -0000 1.121
@@ -543,9 +543,13 @@
$t->assign($row);
$t->assign(array(
'bug_dependencies' => delimit_list(', ', $db->getCol('select '.
- db_concat("'<a href=\"$me?op=show&bugid='", 'depends_on', '\'">#\'',
- 'depends_on', '\'</a>\'').' from '.TBL_BUG_DEPENDENCY.
- " where bug_id = $bugid"))
+ db_concat("'<a href=\"$me?op=show&bugid='", 'depends_on', '\'">#\'',
+ 'depends_on', '\'</a>\'').' from '.TBL_BUG_DEPENDENCY.
+ " where bug_id = $bugid")),
+ 'rev_bug_dependencies' => delimit_list(', ', $db->getCol('select '.
+ db_concat("'<a href=\"$me?op=show&bugid='", 'bug_id', '\'">#\'',
+ 'bug_id', '\'</a>\'').' from '.TBL_BUG_DEPENDENCY.
+ " where depends_on = $bugid"))
));
// Show the comments
@@ -624,9 +628,13 @@
'num_votes' => $db->getOne("select count(*) from ".TBL_BUG_VOTE.
" where bug_id = $bugid"),
'bug_dependencies' => delimit_list(', ', $db->getCol('select '.
- db_concat("'<a href=\"$me?op=show&bugid='", 'depends_on', '\'">#\'',
- 'depends_on', '\'</a>\'').' from '.TBL_BUG_DEPENDENCY.
- " where bug_id = $bugid")),
+ db_concat("'<a href=\"$me?op=show&bugid='", 'depends_on', '\'">#\'',
+ 'depends_on', '\'</a>\'').' from '.TBL_BUG_DEPENDENCY.
+ " where bug_id = $bugid")),
+ 'rev_bug_dependencies' => delimit_list(', ', $db->getCol('select '.
+ db_concat("'<a href=\"$me?op=show&bugid='", 'bug_id', '\'">#\'',
+ 'bug_id', '\'</a>\'').' from '.TBL_BUG_DEPENDENCY.
+ " where depends_on = $bugid"))
));
// Show the attachments
|