Modify ↓
Opened 16 years ago
Closed 10 years ago
#4081 closed defect (wontfix)
Patch to Ensure Lexicographical SubWiki Ordering
Reported by: | Game_Ender | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | HierWikiPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Before the patch I have made I would get this order:
Meetings/2008-02-25 Meetings/2008-10-16 Meetings/2008-06-03 Meetings/2007-12-11
Afterwards I get this order:
Meetings/2007-12-11 Meetings/2008-02-25 Meetings/2008-06-03 Meetings/2008-10-16
I fixed it with following patch:
-
hierwiki/macros/subwiki.py
52 52 if md: 53 53 title = md.group(1) 54 54 good_pages.append((p, title)) 55 good_pages.sort() 55 56 return html.UL([html.LI(html.A(p, title=t, href=req.href.wiki(p)), ' ', t) for p,t in good_pages])
(Attached as order_fix.patch)
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | order_fix.patch added |
---|
comment:1 Changed 10 years ago by
Owner: | Noah Kantrowitz deleted |
---|
comment:2 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
The plugin is deprecated since Trac has equivalent functionality as of trac:milestone:1.1.2. If you find any missing function please open a ticket for Trac.
Note: See
TracTickets for help on using
tickets.
Patch to make sure the sub pages are properly sorted