Loading...
 
Skip to main content

PluginRSS displays calendar events in wrong order

Status
Pending
Subject
PluginRSS displays calendar events in wrong order
Version
27.x
master
Category
  • Usability
  • Developer Training
Feature
RSS
Wiki Plugin (extends basic syntax)
Resolution status
Fix on the Way
Submitted by
Gary Cunningham-Lee
Volunteered to solve
Merci Jacob
Lastmod by
Gary Cunningham-Lee
Rating
(0)
Description

Using PluginRSS (https://doc.tiki.org/PluginRSS) to display information from an external Tiki calendar events RSS feed, the events display most distant (ex: October) first, then September, then August. It's more logical and more typical to display the nearest upcoming event first and the ones farther in the future after that. That's the way the display works in the Upcoming Events module, which makes sense.

I don't see a way to change the sorting of events when configuring the plugin. In particular, if I limit the number of events displayed to 1, I would like the next, upcoming event to display, not the one that's several months away. I don't see anything in the docs (Feeds, Calendar, etc.) or the feature interface about controlling this.

The order is correct (closest event is first) in https://tiki.org/tiki-calendars_rss.php But when I use PluginRSS in a local wiki page, the order is reversed (most distant event is first). This is what seems to need correcting, or at least a sorting order parameter added.

Solution
https://gitlab.com/tikiwiki/tiki/-/merge_requests/5546
Workaround
Importance
8
Easy to solve?
7
Priority
56
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8643
Created
Wednesday 03 July, 2024 03:56:32 UTC
by Gary Cunningham-Lee
LastModif
Saturday 10 August, 2024 12:29:48 UTC


Show PHP error messages