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) »
  • Advanced Search anomalies
Pages: [1]

Author Topic: Advanced Search anomalies  (Read 423 times)

ayduns

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 6
    • Squiffle Consulting
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7
Advanced Search anomalies
January 15, 2013, 03:21:30 pm
Hi,

In Advanced Search, an entry in the "complete or partial name" results in "name or email LIKE" instead of just "name like"
eg on demo site, enter "aol" - results show list of contacts with aol email addresses, but aol is not in the name field
This shows two problems: the search is matching against email (as well as name), and the search is assumed to be partial (ie automatically adding the wildcards.)  Note the help text showing partial matches need '%'

When searching with relationships, the target is treated as a partial match.  For example, on the demo system make 'Paula Adams' an employee of Cisco, then use Advanced Search setting the relationship to 'employee of' and the target as 'sco'.  The search wrongly shows Paula Adams.

We have a case where the full name of an org is a substring of another (although unrelated), and this behaviour makes it impossible to find only employees of the substring org.

The first one looks to me like a bug.  I'm not sure what the intended behaviour is for the relationship search, but for consistency it seems all the fields should be exact matches unless % is included.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Advanced Search anomalies

This forum was archived on 2017-11-26.