]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 121112: long_list.cgi generates bad links - Patch by Frédéric Buclin <LpSolit...
authorlpsolit%gmail.com <>
Wed, 31 Aug 2005 00:12:22 +0000 (00:12 +0000)
committerlpsolit%gmail.com <>
Wed, 31 Aug 2005 00:12:22 +0000 (00:12 +0000)
template/en/default/bug/comments.html.tmpl
template/en/default/filterexceptions.pl

index cf279d05d63874a8392801bfdbe0463811ce8276..289593b7ac2e06b87543300468518e7dcd210438 100644 (file)
@@ -77,7 +77,8 @@
         <table>
           <tr>
             <td align="left">
-              <b><a name="c0" href="#c0">Description</a>:</b>&nbsp;&nbsp;<script 
+              <b><a name="c0" href="show_bug.cgi?id=[% bug.bug_id %]#c0">
+                Description</a>:</b>&nbsp;&nbsp;<script 
                 type="text/javascript"><!-- 
                   addReplyLink(0);
                 //--></script>
@@ -91,7 +92,8 @@
         <br>
         <span class="bz_comment">
           ------- <i>Comment
-          <a name="c[% count %]" href="#c[% count %]">#[% count %]</a> From 
+          <a name="c[% count %]" href="show_bug.cgi?id=[% bug.bug_id %]#c[% count %]">
+            #[% count %]</a> From 
           <a href="mailto:[% comment.email FILTER html %]">
             [% comment.name FILTER html %]</a>
           [%+ comment.time FILTER time %] 
index 5d70380ca134132cbf069242701b6a72ea05a16a..cc5a19d09053ff12f7466b6b407422c838abb992 100644 (file)
 'bug/comments.html.tmpl' => [
   'comment.isprivate', 
   'comment.when', 
+  'bug.bug_id',
 ],
 
 'bug/dependency-graph.html.tmpl' => [