Skip to content

Commit

Permalink
Merge pull request #1834 from firm1/hotfix_position
Browse files Browse the repository at this point in the history
correction du dernier msg non lu
  • Loading branch information
Eskimon committed Dec 3, 2014
2 parents 127fa08 + edacad7 commit 2034236
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 @@ -229,7 +229,7 @@ def first_unread_post(self):

next_post = Post.objects.filter(
topic__pk=self.pk,
posiion__gt=last_post.position)\
position__gt=last_post.position)\
.select_related("author").first()

return next_post
Expand Down

0 comments on commit 2034236

Please sign in to comment.