Support

Home Forums Attendee Mover Add-on Attendee Mover Search for new event by Event ID not name

Attendee Mover Search for new event by Event ID not name

Posted: July 17, 2020 at 8:41 am

Viewing 1 reply thread


jacl

July 17, 2020 at 8:41 am

Hi, our client runs repeat classes most with the same or similar names. When moving attendees they prefer to type in the EVENT D number of the new destination event but the search only works on event names.
I had this working in previous version by editing the file attendee-mover-event-selector.js

and change the field in the WHERE param like this but that no longer seems to work…. any ideas please?


//new_params.where.EVT_name = [ 'like', '%' + search_term + '%' ];
new_params.where.EVT_ID= [ 'like', '%' + search_term + '%' ];//JJA was EVT_name

Thank you
JOnathan


jacl

July 17, 2020 at 8:42 am

IGNORE…. I’d cleared the browser cache but not the WordPress Sitgeorund caching plugin… I can search by ID now 🙂

Viewing 1 reply thread

The support post ‘Attendee Mover Search for new event by Event ID not name’ 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