Modify

Opened 8 months ago

Closed 8 months 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@… 8 months ago.
TOCmacro patch to add reverse order functionality

Download all attachments as: .zip

Change History (5)

Changed 8 months ago by mitja@…

TOCmacro patch to add reverse order functionality

comment:1 follow-up: Changed 8 months ago by rjollos

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

comment:2 in reply to: ↑ 1 Changed 8 months 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 8 months ago by rjollos

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

comment:4 Changed 8 months ago by rjollos

  • Resolution set to fixed
  • Status changed from new to closed

In 13594:

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

Patch by mitja.jez.

Add Comment

Modify Ticket

Action
as closed .
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.