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) »
  • Search builder problem and also Search profile seem broken.
Pages: [1]

Author Topic: Search builder problem and also Search profile seem broken.  (Read 1270 times)

Tony Horrocks

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 7
    • Fabriko Limited
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7
Search builder problem and also Search profile seem broken.
February 22, 2009, 04:42:31 am
I'm using Drupal 6.9 and CiviCRM 2.2 Beta.

In Advanced search I do a simple search on the name field for Smith and it returns 5 results, and the search query Name or Email LIKE 'Smith'

In Search builder I create the same seach and I get  "No matches found for: Last Name LIKE smith ...AND...Contact Type - 'Individual' "

In a search profile form the the same search I get "No matches found for:Last Name LIKE %smith%"

Has anyone com across this? I simply cannot get Search Builder to return any results for anything.

Thanks in advance for your help.
Tony Horrocks
Author of the CiviCRM CookBook https://www.packtpub.com/web-development/civicrm-cookbook

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: Search builder problem and also Search profile seem broken.
February 22, 2009, 06:47:35 am

advanced search by default searches both "name" and "email"

search builder and profile only search the specific name field. If sort_name is the 'field' in search builder or profile, it searches both name and email

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

Tony Horrocks

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 7
    • Fabriko Limited
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7
Re: Search builder problem and also Search profile seem broken.
February 23, 2009, 04:21:52 am
Thanks Donald.

I think I should have made things a bit clearer.

The thing is I can't so a search on Name in Search Builder nor can I do the same on a linked profile search. In other words I cant use Search Builder or a linked profile to search on the name field or any other field. They simply don't work at a very basic level and deliver the search no records found messages I detailed in my first post.

Any ideas?
Tony Horrocks
Author of the CiviCRM CookBook https://www.packtpub.com/web-development/civicrm-cookbook

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: Search builder problem and also Search profile seem broken.
February 23, 2009, 09:19:05 am

can you reproduce this on drupal.demo.civicrm.org for either search builder or profile or both

and let us know the steps to reproduce the issue

thanx

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

Tony Horrocks

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 7
    • Fabriko Limited
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7
Re: Search builder problem and also Search profile seem broken.
February 23, 2009, 10:28:59 am
Ive discoverd the problem. It's me being an idiot. Doh!

I imported a load of records into CiviCRM using the Import function and mapped LAst name and Surname the wrong way round. The Find search finds the records because it searches both first name and last name. The search build obviously doest

Sorry to waste you time

Thanks for your help anyway



Tony Horrocks
Author of the CiviCRM CookBook https://www.packtpub.com/web-development/civicrm-cookbook

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Search builder problem and also Search profile seem broken.

This forum was archived on 2017-11-26.