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) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Is this advanced search behaviour intended?
Pages: [1]

Author Topic: Is this advanced search behaviour intended?  (Read 1531 times)

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Is this advanced search behaviour intended?
February 19, 2013, 11:28:47 pm
For a reason too complex to go into here I have ended up with the following situation.

A contact with display_name Mary Smith and  email mary.smith@XXX.com has from 2 to 40 rogue contact records with the form Display_name mary.smith@XXX.com and email mary.smith@XXX.com.

This has happened for about 160 contacts.

I want to get a volunteer to permanently delete the rogue contacts.

I though I could do it by giving her a list of  the rogue display names and getting her to do an advanced search using the Complete OR Partial Name field and then permanently deleting all the search results.  Lucky I checked it out first myself as I was quite surprised by what actually happens.

Doing an advanced search with mary.smith@XXX.com in the Complete OR Partial Name field brings up the legitimate contact with display_name Mary Smith  as well as the rogue ones with Display_name mary.smith@XXX.com.

This also happens on the 4.2 Drupal 7 demo site.

Is this intended behaviour?  Even if it is, I think it is wrong.


A find contacts search  tells you it will search both name and email fields for whatever you have entered.  However,  advanced search gives you separate fields for name and for email and it should only search the specified field IMO

What do others think?






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: Is this advanced search behaviour intended?
February 20, 2013, 08:26:49 am

it is a bug, and i think there is an issue for this. However its a non-trivial fix and hence still present in 4.3

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

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Is this advanced search behaviour intended?
February 24, 2013, 11:20:07 pm
Thanks for the reply Lobo.

Is that something that Eileen might be able to fix, or not her area of expertise?  Also what does non-trivial mean?

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: Is this advanced search behaviour intended?
February 25, 2013, 07:35:43 am

I would say, a 5-10 hour project with tests. Yes, eileen should be able to fix

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Is this advanced search behaviour intended?

This forum was archived on 2017-11-26.