Strange and not reproducable sort of events

  • Martin Herzhauser
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 days 15 hours ago #173739 by Martin Herzhauser
Strange and not reproducable sort of events was created by Martin Herzhauser
I have events on the same day and time...and the ordering in the event list is a little bit confusing, it jumps sometimes.
My current workaround is to export the event list, add seconds to the event start time and reimport it. You cannot see the seconds in the ui, but for the ordering it works perfect...
Do I oversee a simple solution?

Regards,
Martin

Please Log in or Create an account to join the conversation.

More
4 days 11 hours ago #173745 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Strange and not reproducable sort of events
Hi Martin

Where I can see this ordering issue? From backend or frontend of your site? Please explain more details about the issue so that I can understand the actual issue and give you instructions. Export and import is over-complicated to me

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Martin Herzhauser
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 days 4 hours ago #173755 by Martin Herzhauser
Replied by Martin Herzhauser on topic Strange and not reproducable sort of events
It' in the frontend.
I tried to influence it with standard sorting methods from the backend (moving in the list up or down), but with no effect.
It seems to my the in the background is a database query like "select all events order by start date and time"...and so if you have more events with the same date and time, the result is sorted randomly?

Please Log in or Create an account to join the conversation.

More
4 days 3 hours ago #173761 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Strange and not reproducable sort of events
Ah, could be. I did not think about the case when events have same date and time. What kind of menu item you are using to display events here? Please let me know so that I can try to find a solution

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Martin Herzhauser
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 days 3 hours ago #173763 by Martin Herzhauser
Replied by Martin Herzhauser on topic Strange and not reproducable sort of events
Categories - Event List

Please Log in or Create an account to join the conversation.

More
2 days 9 hours ago #173795 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Strange and not reproducable sort of events
Hi Martin

I updated code of the extension to use ordering to order events in case two events have same event date and time. Could you please access to My Downloads menu item, download latest package of the extension, update it to your site, then check it again to see if it solves the issue?

Regards,

Tuan
The following user(s) said Thank You: Martin Herzhauser

Please Log in or Create an account to join the conversation.

  • Martin Herzhauser
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 days 6 hours ago #173796 by Martin Herzhauser
Replied by Martin Herzhauser on topic Strange and not reproducable sort of events
Hey, great job!!! Now I can arrange the order in the backend!

Please Log in or Create an account to join the conversation.

More
2 days 5 hours ago #173797 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Strange and not reproducable sort of events
Great. Thanks for confirming

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc