#2552 closed defect (bug) (fixed)
Recent Topics Widget - Show most popular doesn't sort correctly
Reported by: | cmmarslender | Owned by: | |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 2.5.3 |
Component: | API - Widgets | Keywords: | |
Cc: | cmmarslender |
Description
The recent topics widget does not pull 'popular' topics in the correct order. The query is set up to pull meta_value '_bbp_reply_count' and order by 'meta_value' - It should probably be meta_value_num to correctly handle the counts as numbers - otherwise you get weird ordering because the numbers are not treated as such.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Thanks @cmmarslender
In r5297:
meta_type
hinting to widget queries. See #2554.orderby
->meta_value_num
in Popular Widget. See #2552