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 (Moderator: Dave Greenberg) »
  • Merge labels for contacts with the same address
Pages: [1]

Author Topic: Merge labels for contacts with the same address  (Read 2013 times)

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Merge labels for contacts with the same address
October 14, 2009, 02:37:26 pm
or does it?

A quick test indicates that it uses a single contact name from people with a household address but doesn't merge users with the same address if not a household. Not a big issue but might need some clarification of the intended result.

I suspect that if you are looking at a student community you might have several people at the same address who want separate mailings but a family wants a joint mailing.

Food for thought. I'm hungry..

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: Merge labels for contacts with the same address
October 14, 2009, 07:57:25 pm

Can you reproduce this issue on demo.

the merge same address basically does an exact match on the address fields and then modifies the name field to include the names (this is conditional based on the number of matches to that address)

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

ryanpitt

  • I post occasionally
  • **
  • Posts: 42
  • Karma: 0
Re: Merge labels for contacts with the same address
October 22, 2009, 08:08:06 am
I have tried this on CiviCRM 3.01 and I get the same result as speleo.
It matches the address (exactly, including being case sensitive) but only returns one of the contact names at that address.
I wonder if we should relax the matching conditions somewhat?
I have not tried to reproduce on the demo system but will try.
Thanks
Ryan

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: Merge labels for contacts with the same address
October 22, 2009, 08:39:54 am

if there are more than 2 folks at the same address, it should only give you two names. Can you try tweaking the code at:

CRM/Contact/Form/Task/Label.php, function mergeSameAddress, line 424

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

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: Merge labels for contacts with the same address
July 16, 2010, 04:18:29 am
seems like this is still not putting both/all names on the label in 3.2

maybe able to look in to this - can i put an issue in jira at least to have this on record?
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

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Merge labels for contacts with the same address
July 19, 2010, 03:17:48 am
Peter,

Are you able to replicate this on http://drupal.demo.civicrm.org? If yes then do file an issue

Kurund
Found this reply helpful? Support CiviCRM

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: Merge labels for contacts with the same address
July 19, 2010, 03:41:21 am
Hi - yes the example was off demo or sandbox - i should have said - http://issues.civicrm.org/jira/browse/CRM-6504
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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Merge labels for contacts with the same address

This forum was archived on 2017-11-26.