tuminoid / kisakone

Finnish Disc Golf Associations retired disc golf tournament manager. 2019-> FDGA uses Disc Golf Metrix.
https://kisakone.frisbeegolfliitto.fi/
GNU General Public License v3.0
9 stars 9 forks source link

Ordering of competitions on events page #268

Closed nixe- closed 8 years ago

nixe- commented 8 years ago

When you go to coming competitions page it's basicly fine, but when try to follow page with page monitor (diff) it's not working, or at least it's annoying. http://s28.postimg.org/pav8su1od/Sieppaa.png

I think query is not accurate, as competitions are not always in same order. So it might be good idea to add ie. ID to end of order clause so competitions came in same order every time. Didn't check code, so don't know how it's done, just suggesting.

tuminoid commented 8 years ago

Thanks for reporting!

Looks like competitions are ordered by startdate, and that leaves room for inconsistency. I'll add some further ordering by enddate and then id, to get them sorted always the same.

tuminoid commented 8 years ago

Fixed in next.