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


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 🙂

You must be logged in to reply to this support post. Sign In or Register for an Account

Status: publish

Updated by  jacl 3 weeks, 4 days ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!