Skip to content

Commit 37e69a0

Browse files
committed
Changed the order of the files diffed in the draft diff links on the history page. Fixes issue ietf-tools#1114.
- Legacy-Id: 6077
1 parent ed020c8 commit 37e69a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def add_links_in_new_revision_events(doc, events, diff_revisions):
180180
links += ""
181181

182182
if prev != None:
183-
links += ' (<a href="http:%s?url1=%s&url2=%s">diff from previous</a>)' % (settings.RFCDIFF_PREFIX, urllib.quote(diff_url, safe="~"), urllib.quote(prev, safe="~"))
183+
links += ' (<a href="http:%s?url1=%s&url2=%s">diff from previous</a>)' % (settings.RFCDIFF_PREFIX, urllib.quote(prev, safe="~"), urllib.quote(diff_url, safe="~"))
184184

185185
# replace the bold filename part
186186
e.desc = re.sub(r"<b>(.+-[0-9][0-9].txt)</b>", links, e.desc)

0 commit comments

Comments
 (0)