CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Find Contacts (civicrm/contact/search) has badly named label
Pages: [1]

Author Topic: Find Contacts (civicrm/contact/search) has badly named label  (Read 545 times)

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Find Contacts (civicrm/contact/search) has badly named label
February 11, 2011, 03:19:30 am
Hi there,

Looking at the civicrm/contact/search page, the first box is called 'Name or Email'.

But the query searches based on sort_name.

Two solutions.  Include an " OR email LIKE '%searchterm%' " in the query or rename the label to more accuratley reflect what is being searched, i.e. Name (or email where name not present).

Looking at the WHERE  (  (  (  ( contact_a.sort_name LIKE '%searchterm%' ) )  )  )  AND (contact_a.is_deleted = 0)   ORDER BY contact_a.sort_name asc  LIMIT 0, 50

But the current interface is confusing and leads people to assume that a contact isn't present when they actually are, which then leads them to enter all the contact details, and get a warning saying that the contact is already there, which is a big usability frustration - what do you think?
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Find Contacts (civicrm/contact/search) has badly named label
February 11, 2011, 07:13:55 am

make sure "include email" is included in the search options. This is enabled by default:

http://drupal.demo.civicrm.org/civicrm/admin/setting/search&reset=1

The help text does not reflect the search options, which is a minor bug

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Find Contacts (civicrm/contact/search) has badly named label
February 16, 2011, 05:29:12 am
Thanks for feedback - good point - will file issue with fix if i get time.
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Find Contacts (civicrm/contact/search) has badly named label

This forum was archived on 2017-11-26.