Posted: November 7, 2023 at 11:30 am
When I view registrations I want to sort them by the event date, the default sort appears to be the TXN date. When I click on the arrows next to the Event Date heading to sort them by that date, I don’t see any dates for December, even though I know from the default sort that there should be at least 3 December dates. I want to see the Event dates in chronological order on this page. Screenshots: |
|
Did try to recreat the issue from our end, but everything seems fine. https://monosnap.com/file/5LVlwsAVocJXl6lZEwHLeTtSBvmJni Can you tell me more information about that page? how about you shoot a video using loom. There could be some information we can see there that might be helpful in our troubleshooting. thanks |
|
This reply has been marked as private. | |
I think it works fine. the first time you click it sort by DESC, it sorted. The second time you click it, it brings back to default sorting. Can you tell us what you expect to happen when you click the button on the 2nd time? thanks |
|
Hey Rio, |
|
Hi Fran, That’s not a simple sort although it may seem it. The reason your not seeing the December registration in your screenshots is the query orders_by like this:
We add the orderby REG_ID because the results returned from the Database query can be a little… random without it. The code for this actually has a comment referring to it:
But, those where conditions are filtered so you can try using a snippet on your site to see if it helps: https://gist.github.com/Pebblo/04448f9f82f55dc90d055944893da5e1 Try adding that snippet to your xee-customizations plugin. |
|
Hey Tony, What’s happening now is that the second time I click the arrow to sort it starts with January of 2023 and goes up, only not always in the correct order. Also, I see a lot of registrations that are showing in gray, to indicate canceled, and also purple, to indicate wait list. This can’t be right. The payments are showing as green for most of them. |
|
This reply has been marked as private. | |
Yeah unfortunately I don’t think that’s something we can fix without a deep dive into the registration data, matching the setup and seeing exactly whats is happening with the query. If you view registrations for a specific datetime does that display correctly? |
|
How would I view registrations for a specific datetime? When I look at the registrations page and filter by date, that is only for Txn date so I can’t see into the future. |
|
This reply has been marked as private. | |
The support post ‘Sorting Inconsistencies’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.