Skip to content

Commit

Permalink
Corrige un problème d'ordre des sujets lorsqu'un message a été modifié
Browse files Browse the repository at this point in the history
Lorsque le dernier message visible était modifié, il était remonté. Ce n'est pas le comportement attendu. Correction de ce comportement.
  • Loading branch information
Rowin committed May 24, 2021
1 parent 9a9d5b1 commit eaa0b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zds/forum/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def meta_description(self):
@property
def last_update(self):
last_visible_post = self.get_last_visible_post()
return last_visible_post.update or last_visible_post.pubdate
return last_visible_post.pubdate

@staticmethod
def __remove_greetings(post):
Expand Down

0 comments on commit eaa0b01

Please sign in to comment.