Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 913
    • Issues 913
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • Core
  • Issues
  • #1607

Closed
Open
Opened Feb 19, 2020 by mfb@mfbDeveloper

QuickSearch should search any details rather than primary details only

Overview

QuickSearch currently searches primary details only. However, in all use cases I have encountered, users actually want to search any details (e.g. when searching by email address, see a list of contacts with that primary or non-primary email address).

If in fact there exists a use case where Civi users need to search primary details only, we could add a toggle to the QuickSearch form itself (which affects only that form interaction, and will not have side effects on exports, other users, etc.)

Example use-case

  1. Use QuickSearch form to search by email, phone, address, etc.
  2. Observe the autocomplete search results which appear below the QuickSearch box.

Current behaviour

Autocomplete shows results for primary details only.

Proposed behaviour

Autocomplete shows results for both primary and non-primary details.

Comments

In addition, it would be useful if QuickSearch could pass on the "search primary details only" preference to the advanced search page it leads to, so that the autocomplete results match the results obtained by hitting "enter".

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#1607