- This topic has 1 reply, 2 voices, and was last updated 7 months, 3 weeks ago by Andre Flores.
- December 9, 2020 at 5:53 pm #1044768LarryMParticipant
I noticed the hard way that the ‘search booking’ option on the ‘bookings’ page admin panel is looking for an exact match, so it would only work with a full field match. For Example: I have the last names “Evers and Smith”, searching “Smith” or “Evers” will not bring up any results. Same for notes – if I am searching for notes with “late arrival” in it, the note “late arrival!” will not show up. It is not case sensitive and will trim off any spaces, so it is just the fact that containing words within fields are not searchable.
Is it possible to change the search to look for matches that contain the query? – it’s eaaaaasy to do this with SQL but I dont want to be hacking the code after every update.December 15, 2020 at 10:35 am #1047125Andre FloresModerator
I have tested the search functionality locally and was unable to replicate the issue – if I use either first or second name of the guest valid search results are returned. The search results are indeed returned with the exact match only (the search works by most of the fields, e.g. ID, price, date, e-mail address, country code etc.). I have passed your request for consideration to our developers, if there are more requests from other users regarding this matter, we will consider implementing changes to the Bookings search in one of the future plugin updates.
Anyone who also needs this feature feel free to let me know by commenting this topic.
- You must be logged in to reply to this topic.