Modify

Opened 8 years ago

Closed 15 months 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

     
    5252            if md:
    5353                title = md.group(1)
    5454            good_pages.append((p, title))
     55        good_pages.sort()
    5556        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)

order_fix.patch (458 bytes) - added by Game_Ender 8 years ago.
Patch to make sure the sub pages are properly sorted

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Game_Ender

Patch to make sure the sub pages are properly sorted

comment:1 Changed 16 months ago by rjollos

  • Owner coderanger deleted

comment:2 Changed 15 months ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to 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.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.