Opened 12 years ago

Last modified 11 years ago

#9732 closed defect

Forum sort direction not working when set from config/trac.ini — at Version 3

Reported by: Joseph Coffland Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords: forum sort direction
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

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!

Change History (4)

Changed 12 years ago by Joseph Coffland

Very simple patch to fix bug

comment:1 Changed 12 years ago by Radek Bartoň

Thank you.

comment:2 Changed 12 years ago by Joseph Coffland

No problem. Glad to be able to contribute something.

comment:3 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.