Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8100

Make autocomplete minChars configurable

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.3.6, 3.4.1, 4.0.1
    • Fix Version/s: 4.4.0
    • Component/s: Usability
    • Labels:
      None

      Description

      Due to CRM-6135 the jQuery autocomplete minChars setting in templates/CRM/common/Navigation.tpl was set to 1 to make the autocomplete mechanism usefull for Chinese language input, too.

      For most other languages this makes the autocomplete too 'agressive' though, especially when you're dealing with slow typers, and causes extra database load without producing too meaningfull results.

      In our local installation with ~40K (mostly German) contacts we've now changed the template to have minChars=3 (and are considering to maybe even go up to 4) as a search on 1 or 2 letters only does hardly ever produce any meaningful results anyway but consumes database and local browser resources and so slows things down without any extra gain for the user ...

      Sure, we can just continue to have our custom Navigation.tpl, but IMHO an input language specific setting like this would justify a configuration setting of its own

      (and if someone can point me at good docs on how to add a setting to the administratiton pages i'd even be happy to add this to the localisation admin page myself ...)

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              hholzgra Hartmut Holzgraefe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: