Modify ↓
#9732 closed defect (fixed)
Forum sort direction not working when set from config/trac.ini
| Reported by: | jcoffland | Owned by: | Blackhex |
|---|---|---|---|
| Priority: | normal | Component: | DiscussionPlugin |
| Severity: | normal | Keywords: | forum sort direction |
| Cc: | Trac Release: | 0.11 |
Description (last modified by rjollos)
I couldn't get my forums to sort correctly with the forum_sort option in the trac configuration file. I search around in the code and found the problem. The variable forum_sort_direction is not being used correctly in api.py. I've attached a patch.
Otherwise, great plugin. Thanks!
Attachments (1)
Change History (7)
Changed 17 months ago by jcoffland
comment:1 Changed 17 months ago by Blackhex
Thank you.
comment:2 Changed 17 months ago by jcoffland
No problem. Glad to be able to contribute something.
comment:3 Changed 17 months ago by rjollos
- Description modified (diff)
comment:4 Changed 8 months ago by rjollos
- Resolution set to fixed
- Status changed from new to closed
comment:5 follow-up: ↓ 6 Changed 8 months ago by rjollos
If you are able, please upgrade to r12143 and report back your findings. Thanks.
comment:6 in reply to: ↑ 5 Changed 8 months ago by sdegrande
Note: See
TracTickets for help on using
tickets.


Very simple patch to fix bug