changeset 3316:3e071379fe60 beta

fixed anchor links on compare view
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 04 Feb 2013 02:00:48 +0100
parents fc08484c5bf3
children b36285f90f89
files rhodecode/templates/compare/compare_diff.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/compare/compare_diff.html	Sun Feb 03 23:33:41 2013 +0100
+++ b/rhodecode/templates/compare/compare_diff.html	Mon Feb 04 02:00:48 2013 +0100
@@ -53,7 +53,7 @@
               %endif
               %for fid, change, f, stat in c.files:
                   <div class="cs_${change}">
-                    <div class="node">${h.link_to(h.safe_unicode(f),h.url.current(anchor=fid))}</div>
+                    <div class="node">${h.link_to(h.safe_unicode(f),h.url.current(anchor=fid, **request.GET.mixed()))}</div>
                     <div class="changes">${h.fancy_file_stats(stat)}</div>
                   </div>
               %endfor