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

     
    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 16 years ago.
Patch to make sure the sub pages are properly sorted

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by Game_Ender

Attachment: order_fix.patch added

Patch to make sure the sub pages are properly sorted

comment:1 Changed 10 years ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

comment:2 Changed 10 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.