Show More
@@ -43,8 +43,9 b' class ReflinkPattern(Pattern):' | |||||
43 | ref_element = etree.Element('a') |
|
43 | ref_element = etree.Element('a') | |
44 |
|
44 | |||
45 | post = posts[0] |
|
45 | post = posts[0] | |
46 |
if post. |
|
46 | if not post.is_opening(): | |
47 |
link = reverse(boards.views.thread, kwargs={ |
|
47 | link = reverse(boards.views.thread, kwargs={ | |
|
48 | 'post_id': post.thread_new.get_opening_post().id})\ | |||
48 |
|
|
49 | + '#' + post_id | |
49 | else: |
|
50 | else: | |
50 | link = reverse(boards.views.thread, kwargs={'post_id': post_id}) |
|
51 | link = reverse(boards.views.thread, kwargs={'post_id': post_id}) |
General Comments 0
You need to be logged in to leave comments.
Login now