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

Quicksearch: pressing enter after typing takes you to the wrong record

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.7, 4.3.0
    • Fix Version/s: 4.2.8, 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      If your search matches one record, pressing enter will take you to a single record (usually the wrong one).
      If your search matches multiple records, pressing enter will take you to an empty search page.

      Because we now allow searching by multiple fields, I don't think having "enter" always take you to the basic search page is going to fly. Possible solutions:

      Easiest might be to standardize on having "enter" take you to the contact record of the first match. That's what we do if there's only one match, so we could probably get away with doing it always.
      Mid-range - go to contact record if single match, else go to basic search and fix current brokenness (note these results will make no sense for other search fields)
      Maybe most "correct" solution (but most involved code-wise) would be: if more than one match, take you to advanced search with the correct field populated.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              colemanw Coleman Watts
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: