Skip Navigation

[Resolved] Sort view by User Last Name

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by seanM-7 1 year, 7 months ago.

Assisted by: Waqar.

Author
Posts
#2450689

Tell us what you are trying to do?
I have a simple view that shows all subscribers, but it does not allow me to sort by Last Name. Is there a way to do this? Currently Ordering By is set to Display Name (which alphabetizes by first name)

Is there any documentation that you are following?
I tried the instructions at https://toolset.com/forums/topic/sort-user-view-by-users-last-name-of-custom-field/, but it did not add it to the ORDER BY list, nor did it sort by last name.

hidden link

#2450993

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

I've tested the custom code from the other support ticket and it worked as expected, to order the user view, by the last names.

To troubleshoot why it is not working on your website, I'll need to see how this view is set up in the admin area.

Can you please share temporary admin login details, in reply to this message?

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

#2451217

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.