Don't do a #-redirect for first message in thread
authorMagnus Hagander <magnus@hagander.net>
Wed, 20 Jun 2018 14:16:32 +0000 (16:16 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 20 Jun 2018 14:16:32 +0000 (16:16 +0200)
commit621b568ed62ba6eab61bc645350f665852585b37
tree609dbd3fb5b6603bc44ccafee380d7763b9c5a58
parent5b9b23da5c73b6f7ecf9279a8e34607126c1e3e5
Don't do a #-redirect for first message in thread

On the view-whole-thread page we previously did a redirect back to the
anchor of the very first mail of the thread when loading the first mail
of the thread. This pollutes the URL more than necessary.

We still do the redirect for messages that are not the first, to make it
possible to link to an individual message.
django/archives/mailarchives/templates/message_flat.html
django/archives/mailarchives/views.py