Fullscreen
Loading...
 
Skip to main content

Please add sorting options to module articles

Status
Closed
Subject
Please add sorting options to module articles
Version
18.x
Category
  • Feature request
Feature
Article
Resolution status
Invalid
Submitted by
hman
Lastmod by
hman
Rating
(0)
Description

When you display articles using the module articles (http://doc.tiki.org/Module-articlesQuestion) the output gets alphabetically sorted by topic.

For several use cases it would be desirable if more control over the output be possible, like sorting by alternative fields (date/time of publication or expiry), or reverse sorting order, or some other even deeper sorting options.

To give an example:
When you use articles to show hints for upcoming TV shows, you will have date, time, channel and program name in the topic. Unless you are in Japan sorting alphabetically by a field starting with a date will NOT yield the desired sorting order.

In continental Europe dates start with the tens of the day of month, leading to the ones, then go on with the tens of the month itself, and so on. This will lead to a first of July being before a February 28th..

In Japan, dates begin with millenia, followed by centuries, and so on, thereby providing correct order through alphabetical sorting. But in UK and USA you run into the same problem once your dates start with spelled out months (resulting in April being the first).

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7675
Created
Monday 08 February, 2021 09:13:24 UTC
by hman
LastModif
Tuesday 09 February, 2021 21:40:28 UTC


Show PHP error messages