Modify

Opened 10 years ago

Closed 10 years ago

#11513 closed enhancement (fixed)

Adding ability to use reversed order

Reported by: mitja.jez@… Owned by: mitjajez
Priority: normal Component: TocMacro
Severity: normal Keywords: reverse order
Cc: Mitar Trac Release: 1.2

Description

I solved my need to use reversed order of subpages in a way to add reversed keyword

[[TOC(reversed)]]

Attachments (1)

reverse_order.patch (1.7 KB) - added by mitja@… 10 years ago.
TOCmacro patch to add reverse order functionality

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by mitja@…

Attachment: reverse_order.patch added

TOCmacro patch to add reverse order functionality

comment:1 Changed 10 years ago by Ryan J Ollos

What is the use case for needing to display subpages in reverse order?

comment:2 in reply to:  1 Changed 10 years ago by anonymous

Replying to rjollos:

What is the use case for needing to display subpages in reverse order?

If events are documented some may wish to have newest on top, like here: https://grow.wlan-si.net/wiki/Dogodki#Seznamvsehdogodkov

comment:3 Changed 10 years ago by Ryan J Ollos

Okay, thanks. I'll review the patch and look into applying it.

comment:4 Changed 10 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

In 13594:

11.0.0.4: Added parameter for reversing the order in which the pages are sorted. Fixes #11513.

Patch by mitja.jez.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain mitjajez.
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.