Opened 14 years ago
Closed 14 years ago
#1840 closed defect (bug) (fixed)
Reply position results in extra needless queries
| Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Tools - Code Improvements | Version: | 2.0 |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [3934]) Reply Position Improvements: