Modify

Opened 6 months ago

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

Download all attachments as: .zip

Change History (5)

Changed 6 months ago by mitja@…

TOCmacro patch to add reverse order functionality

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

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

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

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

comment:4 Changed 6 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 .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from mitjajez. Next status will be '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.