Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-maximum-upload-file-size domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/news.numlock.ch/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the math-captcha domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/news.numlock.ch/public_html/wp-includes/functions.php on line 6114
“Reverse roadmap order” patch for Trac – A changelog by Daniel Mettler

“Reverse roadmap order” patch for Trac

If you prefer a descending order (like in changelogs, blogs, etc.) for milestones in roadmaps instead of an ascending one (= default), you might want to apply my tiny patch:

Roadmap.py.patch

It applies to Roadmap.py of Trac 0.8.4 (see ‘locate Roadmap.py’).

Note that this patch both sets a reverse chronological and a reverse alphabetical order for milestones. Like this, you can name your milestones like versions (e.g. “0.2”, “0.4” .. “1.0”) and they will still appear in reverse order (even if they don’t have any associated dates).

If you want a reverse chronological only order (while keeping an ascending alphabetical order), set “name” instead of “name DESC” in the SQL statements of Roadmap.py.

Note that iCal will not be affected by the display order of the items on Trac.

CategoriesITTags

Leave a Reply

Your email address will not be published. Required fields are marked *

18 ÷ = 2

This site uses Akismet to reduce spam. Learn how your comment data is processed.