From eaa0b01458da4e15ce7a577813e38fc566dec4f3 Mon Sep 17 00:00:00 2001 From: rowin Date: Tue, 25 May 2021 00:30:39 +0200 Subject: [PATCH] =?UTF-8?q?Corrige=20un=20probl=C3=A8me=20d'ordre=20des=20?= =?UTF-8?q?sujets=20lorsqu'un=20message=20a=20=C3=A9t=C3=A9=20modifi=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lorsque le dernier message visible était modifié, il était remonté. Ce n'est pas le comportement attendu. Correction de ce comportement. --- zds/forum/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zds/forum/models.py b/zds/forum/models.py index 68a778fc81..1f6a0660b7 100644 --- a/zds/forum/models.py +++ b/zds/forum/models.py @@ -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):