cosent / plonesocial.microblog

ACHIVED - USE PLONEINTRANET. Simple microblogging for Plone
4 stars 8 forks source link

Reverse order of replies: latest at the bottom #33

Closed pysailor closed 9 years ago

pysailor commented 9 years ago

@gyst Like we discussed today, reverse the order of the replies so that the latest are at the bottom

mattss commented 9 years ago

@gyst @pysailor I'm wondering if this should just be resolved inside the thread_keys method. It currently uses the 'longkeysortreverse' method, which I assume is used in most places because you normally want the most recent status updates to appear first. However, in a thread context you always want the items in chronological order.

pysailor commented 9 years ago

@mattss Ok, makes sense, I think. I updated the code accordingly. @gyst I would like your review here too, since we also had to adapt the test accordingly.