Plugin Author
Guido
(@guido07111975)
Hi,
My plugin does sorting on end-date only. And if end-date of both events is the same, it sorts events by post ID… so I think that’s the issue here as well. Can you check this?
Guido
I was afraid you were going to say that. :/ The end date of the second event is indeed after the first event. That said, sorting by end date makes no sense, really.
Event 1: 7/27
Event 2: 7/24 through 7/28
Event 2 clearly starts before event 1 but shows up second because it ends after it. This could easily be overlooked by someone who is just quickly scanning for an event on the current day, or in the next couple of days, if the end date on that event is a few days away. I’d love to see the option to have it sort by start date, as that seems to make much more sense to me.
Plugin Author
Guido
(@guido07111975)
Hi,
You’re right but to make this happen I must do some serious coding. Not easy. I’ve developed this plugin a few years ago containing 1 date only. So afterwards I did change this into a double-date plugin. That’s why sorting is on 1 date. And sorting is on end-date because that variable determines until when the event should stay listed. Please don’t forget this is a very simple plugin, so limited options.
Guido
No, I definitely understand. Simple is what I wanted. Was just hoping the sort would be more intuitive. I definitely understand the whole “spaghetti code” issue. Things happen. Oh well, maybe in the future…
Plugin Author
Guido
(@guido07111975)
Hi,
I hope so. You’re not the first user with this comment, so when I have some spare time I will try to find a solution. Meanwhile I hope you will continue to use my plugin on your website.
Guido
Plugin Author
Guido
(@guido07111975)
Hi again,
I might have found a fix for the event order, check my latest response here.
Guido