Support

Home Forums Event Espresso Premium Event Check-In OrderBy not working properly

Event Check-In OrderBy not working properly

Posted: January 12, 2017 at 4:10 pm

Viewing 3 reply threads


kellyjo

January 12, 2017 at 4:10 pm

Hey EE4 Team,

I’m having an issue on the Registration check-in page.

ASC or DESC, the order of names, when the “Primary Registrant” link is clicked does not seem to be sorting in the correct order at all.

As far as I can see from the link:
?page=espresso_registrations&action=event_registrations&event_registrations_nonce=6621b8c880&orderby=ATT_name&order=asc

?page=espresso_registrations&action=event_registrations&event_registrations_nonce=6621b8c880&orderby=ATT_name&order=desc

According to this, I would think that ATT_name would be alphabetized.

Therefore, names should sort like this in ASC or DESC:

Jamie Wineburg
Jane Gooding
Jill Smith
Michael Abhrams
Michael Baxter
Michael Smith

And then reversing it:

Michael Smith
Michael Baxter
Michael Abhrams
Jill Smith
Jane Gooding
Jamie Wineburg

Unless I’m mistaken and its using something else to sort, but unfortunately, neither of these above are happening at all.

So what you are about to see, the Event Check-in screen may look slightly different because I hijacked the template and changed a few things for client customization. HOWEVER, nothing about the sort and orderby was tampered with, so why is this not ordering correctly?

Please take a look at this link for a display of what is exactly happening: https://goo.gl/B0IDb2

Or you can download the images directly:
ASC https://goo.gl/44ZksE
DESC https://goo.gl/m1A8j8


Josh

  • Support Staff

January 13, 2017 at 2:11 pm

Hi there,

One factor for how those are ordered is it’s actually using the Primary registrant name (that’s the ATT_name field). So if some of those registrations belong to the group, they’re going to be grouped together with other registrations.

It’s hard to tell from your screenshots whether those were single registrations or registrations that were part of a group. Normally that information is displayed, but it looks like maybe you’ve removed that with your customizations.

In any case, I can make a ticket for one of the developers to make the sorting that happens there on the Check In page to sort by registration name instead of the contact’s name.


kellyjo

January 14, 2017 at 3:13 pm

It would be great to have the ability to do that, that would be great. Thank you!


kellyjo

January 16, 2017 at 10:55 pm

So I found an issue, that may not be an issue at all–but at least–at some point, it was sorting by ATT_fname, but now it is sorting only by ATT_name.

On the Event Check-in page, after clicking on Registrant, we get a sorted order of ASC.

With this URL, nothing is sorted correctly:


/wp-admin/admin.php?page=espresso_registrations&action=event_registrations&event_registrations_nonce=dbb129b526&orderby=ATT_name&order=asc

/wp-admin/admin.php?page=espresso_registrations&action=event_registrations&event_registrations_nonce=dbb129b526&orderby=ATT_name&order=desc

Now if I take that same URL, and I add f to ATT_name so that it becomes, ATT_fname, so the URL looks like this:


/wp-admin/admin.php?page=espresso_registrations&action=event_registrations&event_registrations_nonce=dbb129b526&orderby=ATT_fname&order=asc

/wp-admin/admin.php?page=espresso_registrations&action=event_registrations&event_registrations_nonce=dbb129b526&orderby=ATT_fname&order=desc

We get a properly sorted order, both ASC and DESC.

This solves the issue, at least temporarily and manually.

Viewing 3 reply threads

The support post ‘Event Check-In OrderBy not working properly’ 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.

Event Espresso