Home › Forums › Ticket Products › Event Tickets Plus › Sort Attendees
- This topic has 2 replies, 3 voices, and was last updated 8 years, 7 months ago by Support Droid.
-
AuthorPosts
-
August 28, 2015 at 1:43 pm #1000101John OsmondParticipant
I’ve been looking for information about sorting the attendees page by purchaser name. It becomes pretty important when the list is long.
I found a way to accomplish, but had to hack a core file. I’m looking for a way to do it with a filter or action hook.
In plugins/wootickets/src/Tribe/Main.php
* I added some code near line 821.
Under: $attendees = array();
I added: $names = array();* Also added near line 875
Under the $attendeess[] array closing );
I added: $names[] = $name;* Then just before the function return I added:
array_multisort($names, $attendees);That sorts the attendees array by the values in the names array.
Anyway, if there is a non-core file way to do this I would like to work on it with you all.
August 31, 2015 at 7:25 am #1000460BrianKeymasterHi,
Thanks for using our plugins.
I do not believe we have a hook or filter to reorder right now and the only way would be to do as you have done.
However, we have started a major overhaul of the ticketing system and this is something I think we can include.
I have made a note to check on this and see about getting it included.
It will not be in the next release, which is 3.12 as that is in final testing, but we have it scheduled for the release after that.
Let me know if you have any follow up questions.
Thanks
September 15, 2015 at 7:05 am #1005238Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Sort Attendees’ is closed to new replies.