[patch] Add ordering to forum post replies
|Reported by:||DJPaul||Owned by:|
|Component:||Component - Groups||Keywords:||has-patch, tested|
This patch allows the bp_has_forum_topic_posts() templatetag to order the replies in ascending or descending order (on timestamp).
By default, the default behaviour is "ascending"; that is, oldest post first. I've just extended this through up into the templatetag function to allow child themes to pass a new 'order' parameter to bp_has_forum_topic_posts().
Milestone set to 1.2.4 as I've provided a patch which is a minor enhancement which doesn't change or break the default behaviour.
Change History (9)
5 years ago
- Summary changed from Add ordering to forum post replies to [patch] Add ordering to forum post replies