Loading...
 
Skip to main content

Sort by several fields in plugin list

Status
Open
Subject
Sort by several fields in plugin list
Version
19.x
Category
  • Feature request
Feature
Wiki Plugin (extends basic syntax)
Resolution status
New
Submitted by
G.
Keep informed
Jonny Bradley, Victor Tolbert
Lastmod by
G.
Rating
(0)
Description

Currently, we can only sort by one field. But it might be useful in many cases to sort by several, in a certain order. It's quite a usual thing to do with MySQL, for example with a ORDER BY user_id, created_at so it would sort first by user IDs, and then for each user ID it would sort by created_at.

The syntax could be as simple as: {sort mode="tracker_fied_user_id_asc, tracker_field_created_at_desc"}

Importance
4
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7172
Created
Friday 30 August, 2019 06:16:59 UTC
by G.
LastModif
Friday 30 August, 2019 06:21:46 UTC


Show PHP error messages