Hello,
How can we reduce the characters needed to start lookup at the topleft search bar?
For example, if i want to search for a specific email, lookup should start after typing g.var (its 5 characters)

    merovatis
    Do you mean when searching through the list of users? Regardless, the minimum characters needed to give me a list of suggestion is 3 in all search fields i tested.

    However, I did notice that it only gives me suggestions once i searched something already (meaning the URL looked like "/scp/users.php?a=search&query="). This however only applied for the user search. To test this i searched for "ale", got no suggestions. I emptied the field, just click on the search symbol, searching for effectively nothing, and then typed "ale" again, and got a bunch of suggestions for users.

      thehajo
      Hi thehajo,
      I talk about the search bar at Open tickets list (homepage). If i type "var" and stop typing, i get a dropdown with 8 email suggestions. At inspect -> Network, i get scp/ajax.php/tickets/lookup?q=var.
      I dont want to spend resources for searching emails, if i dont type less than 5 character.s

        merovatis

        Then you can customize the code to your liking. As with any customizations you are on your own.

        Cheers.

        17 days later

        merovatis For example, if i want to search for a specific email, lookup should start after typing g.var (its 5 characters)

        My understanding is that osTicket uses 3 characters.

        Write a Reply...