Opened 13 years ago
Closed 13 years ago
#1840 closed defect (bug) (fixed)
Reply position results in extra needless queries
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 2.0 |
Component: | Tools - Code Improvements | Keywords: | |
Cc: |
Description
When trying to get the position of a reply in a topic, we're currently querying for topic children for each reply in a loop. This results in direct database hits for each iteration. The queries are cached at a lower level, but for as often as this is called, this can be architected better.
I propose using menu_order in place of bbPress 1.x's post_position property.
Note: See
TracTickets for help on using
tickets.
(In [3934]) Reply Position Improvements: