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 not displaying all names in all view
Pages: [1]

Author Topic: Advanced Search not displaying all names in all view  (Read 1253 times)

krystee

  • Guest
Advanced Search not displaying all names in all view
September 10, 2009, 05:55:41 pm
When you use advanced search, and select say all individuals. It says there are 1600 records, but it doesn't output all of them. It goes to about the S names (approx 1570 records displaying) and you have to click on the letter tabs to view the names after S. It obviously has something to do with counting but not displaying duplicates, but I can't find where the issue is.

If you sort on zip or any other field, it displays all records fine.

We have both household accounts and individual accounts using the same address.

All addresses (and phones, emails, etc) have a location_id of 1 (home) are set to primary.

What else could be causing this issue?

Thanks for any help you can give on this.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Advanced Search not displaying all names in all view
September 11, 2009, 12:51:41 am
For others the problem has been some contacts have multiple primary email/phone numbers. you may find some suggestions by searching for this. HTH
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

krystee

  • Guest
Re: Advanced Search not displaying all names in all view
September 11, 2009, 07:21:16 am
Thanks! That put me on the right track. I did a search of my database using:

SELECT DISTINCT contact_id FROM civicrm_phone GROUP BY contact_id HAVING count( contact_id ) >1

and found my duplicate records that had the same contact_id and were set as the same location_id and is_primary=1.

I did the same search on the civicrm_address adn civicrm_phone (we don't use civicrm_im or civicrm_openid, but if you do, you need to check those as well).


krystee

  • Guest
Re: Advanced Search not displaying all names in all view
September 11, 2009, 08:54:37 am
Individual contact search display great, but a search of households still leaves off about 300 records or so. There is only one primary address (phone and email) for each ind. contact and household. Why would it still be missing the 300 records in ALL view?

Thanks for your help.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Advanced Search not displaying all names in all view
September 11, 2009, 01:08:23 pm
Is it 'missing' them, or is it returning a result that claims a larger number than there really is?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

krystee

  • Guest
Re: Advanced Search not displaying all names in all view
September 14, 2009, 02:05:53 am
When you do an advanced search for households, you can paginate through the records. On the last page there it stops midway on S's (on Sh). When there are 300 records between Sh and Z so it is miscounting them when outputting them somehow.

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

This forum was archived on 2017-11-26.