]> 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 <>
Tue, 10 Jan 2006 03:17:15 +0000 (03:17 +0000)
committerlpsolit%gmail.com <>
Tue, 10 Jan 2006 03:17:15 +0000 (03:17 +0000)
template/en/default/bug/comments.html.tmpl
template/en/default/filterexceptions.pl

index c1ad0da7ff58ad34d45768ada8edb4502e9ee90a..93cfc4888b5ca8797dc8317aad04dc2886bd4084 100644 (file)
@@ -77,7 +77,8 @@
         <table>
           <tr>
             <td align="left">
-              <b><a name="c0" href="#c0">Description</a>:</b>&nbsp;&nbsp;
+              <b><a name="c0" href="show_bug.cgi?id=[% bug.bug_id %]#c0">
+                Description</a>:</b>&nbsp;&nbsp;
                 [% IF mode == "edit" %]
                   [%%]<script type="text/javascript"><!-- 
                     addReplyLink(0);
@@ -93,7 +94,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 b71ffc18a5de86fc51068bb959a245d21b567db2..f3b8e0d8313e72988378c91ce87e9e6718152732 100644 (file)
 'bug/comments.html.tmpl' => [
   'comment.isprivate', 
   'comment.when', 
+  'bug.bug_id',
 ],
 
 'bug/dependency-graph.html.tmpl' => [