Search not being executed as you start typing

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • rodrigocoelho
    replied
    yuri , me again.... The autocomplete stopped to work as before.
    Now, even with 'textFilterContainsMinLength' => 1 in the config file, it works when you press the first key, but hides the results when typing the sequence, appearing again when you complete the entire first word.

    It is weird. Something new? This started to happen maybe 2 months ago.

    Thanks.

    Leave a comment:


  • rodrigocoelho
    replied
    Originally posted by yurikuzn
    There reason:

    There is a limitation (config parameter textFilterContainsMinLength). When you type a first few characters it doesn't return any result due to parameter. Then you type more characters than set in 'textFilterContainsMinLength' but the autocomplete library that we use doesn't lookup since the previous results were empty. I will look into how we can overcome this behaviour.

    You can try to set 'textFilterContainsMinLength' => 1 in config. It may work out.
    yuri , any way to specify a kind of filter for AutoComplete? Like, just consider registers that aren't with the Archive Status.
    We are starting to have a lot of registers, and it is being extremely complex to find an Opportunity or Project. It would be great to define which ones would be considered on the search or not.
    Maybe a way to REALLY archive what we would like, to make the system "cleaner"....

    For example, is it possible to autocomplete using only objects created on 2019??? For example.....

    Thanks

    Leave a comment:


  • rodrigocoelho
    replied
    tanya mentioned this on other post. Take a look. https://forum.espocrm.com/forum/gene...the-name-field

    Maybe the default could be 1.

    Leave a comment:


  • rodrigocoelho
    replied
    Originally posted by yurikuzn
    There reason:

    There is a limitation (config parameter textFilterContainsMinLength). When you type a first few characters it doesn't return any result due to parameter. Then you type more characters than set in 'textFilterContainsMinLength' but the autocomplete library that we use doesn't lookup since the previous results were empty. I will look into how we can overcome this behaviour.

    You can try to set 'textFilterContainsMinLength' => 1 in config. It may work out.
    Where are these GEMS explanations? What more special settings for using on config we don't know?

    Leave a comment:


  • rodrigocoelho
    replied
    Originally posted by rodrigocoelho

    Maybe that's the "problem". If you use %, it works on autocomplete. It would be great to have the contains on the same way.

    By the way, the "*" is not working as well (for autocomplete)
    Perfect. Working now. MUCH BETTER. Thanks Yuri.

    Leave a comment:


  • yuri
    replied
    There reason:

    There is a limitation (config parameter textFilterContainsMinLength). When you type a first few characters it doesn't return any result due to parameter. Then you type more characters than set in 'textFilterContainsMinLength' but the autocomplete library that we use doesn't lookup since the previous results were empty. I will look into how we can overcome this behaviour.

    You can try to set 'textFilterContainsMinLength' => 1 in config. It may work out.

    Leave a comment:


  • rodrigocoelho
    replied
    Originally posted by yurikuzn
    I'm not sute if it was ever designed to use 'contains' in an autocomplete lookup. I will look into.
    Maybe that's the "problem". If you use %, it works on autocomplete. It would be great to have the contains on the same way.

    By the way, the "*" is not working as well (for autocomplete)

    Leave a comment:


  • yuri
    replied
    I'm not sute if it was ever designed to use 'contains' in an autocomplete lookup. I will look into.

    Leave a comment:


  • yuri
    replied
    Seems I reproduced.

    Leave a comment:


  • yuri
    replied
    I tried but couldn't reproduce. Searching by the word "scania" in parent field gives a proper result.

    Leave a comment:


  • rodrigocoelho
    replied
    Originally posted by rodrigocoelho

    Yes....
    If you would like to try yourself, you can enter on the system to try.

    Leave a comment:


  • rodrigocoelho
    replied
    Originally posted by yurikuzn
    Did you run rebuild after disabling full-text?
    Yes....

    Leave a comment:


  • yuri
    replied
    Did you run rebuild after disabling full-text?

    Leave a comment:


  • rodrigocoelho
    replied
    Originally posted by yurikuzn
    Hi,

    No need.

    Do you have the same issue w/o full-text enabled?
    Yes, just tried.

    And the behavior using "*" is not like when using "%".

    Leave a comment:


  • yuri
    replied
    Hi,

    No need.

    Do you have the same issue w/o full-text enabled?

    Leave a comment:

Working...