Admin panel search option

  • This topic has 1 reply, 2 voices, and was last updated 4 months ago by Andre Flores.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1044768
    Larryster
    Participant

    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.

    #1047125
    Andre Flores
    Moderator

    Hello there,

    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.

    Regards,
    Andre

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.