Body: <p>I'm making a public members directory using using Civi 4.7.6 on Joomla! 3.5.1. It's ok, but I'm getting multiple (clone) results to my search, as seen on the print screen. Any thought about why would it happen?</p>
  
  <p>The results are the very same, not different contacts - i.e., the view link in the right of the result list links to the very ID</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I tried to reproduce the problem in the Demo instance without success (<a href="http://joomla.demo.civicrm.org/index.php?option=com_civicrm&amp;task=civicrm/profile&amp;gid=2&amp;reset=1" rel="nofollow noreferrer">http://joomla.demo.civicrm.org/index.php?option=com_civicrm&amp;task=civicrm/profile&amp;gid=2&amp;reset=1</a> > try "adams" in Last Name). But I realized that the last search statement in my instance ( Group Status "Added" ) doesn't appear in the Demo. But why it appears on my install? Search preferences are the same on both.</p>
  
  <p><a href="https://i.sstatic.net/fMkV7.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/fMkV7.png" alt="multiple equal results to a directory search"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-09T07:39:40.710Z
Comments.Text: Do all the names appear 5 times?  If not is there any correlation between the number of times the name appears and something else in their record, for example, the number of email addresses they have?
Comments.UserDisplayName: JoAnne
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-09T08:41:56.503Z
Comments.Text: good question. multiple website entries also throw strange outcomes which may also affect profiles for all i know
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-09T14:07:46.527Z
Comments.Text: @JoAnne, good point, I found the correlation, it is directed related to the number of groups the contact is add to. I.e., in the print, Diego Viegas is added to 5 groups and José Diego is added to 3 groups. Indeed, if I turn of "Limit listings to a specific Group?" the problem goes away. So we know why. Do you think it's a bug?
Comments.UserDisplayName: diegov
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-09T15:23:32.637Z
Comments.Text: I tried to reproduce the problem in the Demo install and it didn't happen, so doesn't look a product bug. But in the Demo test I saw a difference in the search screen from my instance. At my instance there's a " Group Status "Added" " statement in the last line (see print) that doesn't appear in the demo (http://joomla.demo.civicrm.org/index.php?option=com_civicrm&task=civicrm/profile&gid=2&reset=1 > try "adams" in the Last Name) . It makes sense to me that this statement is the one causing the issue. But why is it there? I compared my "Search Preferences" to the Demo, it's the same.
Comments.UserDisplayName: diegov
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-09T15:39:07.790Z
Comments.Text: While editting the profile, click on Advanced Settings fieldset near bottom and investigate options on your system / profile vs one without problems on demo site. HTH.
Comments.UserDisplayName: Joe Murray
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-09T16:34:45.593Z
Comments.Text: TY Joe, good idea, I checked and they look pretty much the same, mine has Recaptcha turned on, I turned off, no difference... mystery remains.
Comments.UserDisplayName: diegov
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-16T01:25:55.857Z
Comments.Text: I was able to avoid the duplicates switching from the a smart group to a regular one, where I added manually the deserved contacts. This solves the problem by now, to show the directory working, but will force me to update the regular group constantly, I'd better use the smart group. Any ideas?
Comments.UserDisplayName: diegov
Tags: <joomla><4.7>
Title: Multiple same results in directory listing
ThreadText: # Multiple same results in directory listing
  
  (Asked by: username_0 on 2016-04-09)
  
  I'm making a public members directory using using Civi 4.7.6 on Joomla! 3.5.1. It's ok, but I'm getting multiple (clone) results to my search, as seen on the print screen. Any thought about why would it happen?
  
  The results are the very same, not different contacts - i.e., the view link in the right of the result list links to the very ID
  
  **Edit**
  
  I tried to reproduce the problem in the Demo instance without success (<http://joomla.demo.civicrm.org/index.php?option=com_civicrm&task=civicrm/profile&gid=2&reset=1> > try "adams" in Last Name). But I realized that the last search statement in my instance ( Group Status "Added" ) doesn't appear in the Demo. But why it appears on my install? Search preferences are the same on both.
  
  [![multiple equal results to a directory search](https://i.sstatic.net/fMkV7.png)](https://i.sstatic.net/fMkV7.png)
  
  **Tags:** joomla, 4.7
  
  > **Comments:**
  > **username_1**: Do all the names appear 5 times?  If not is there any correlation between the number of times the name appears and something else in their record, for example, the number of email addresses they have?  
  > **username_2**: good question. multiple website entries also throw strange outcomes which may also affect profiles for all i know  
  > **username_0**: @username_1, good point, I found the correlation, it is directed related to the number of groups the contact is add to. I.e., in the print, Diego Viegas is added to 5 groups and José Diego is added to 3 groups. Indeed, if I turn of "Limit listings to a specific Group?" the problem goes away. So we know why. Do you think it's a bug?  
  > **username_0**: I tried to reproduce the problem in the Demo install and it didn't happen, so doesn't look a product bug. But in the Demo test I saw a difference in the search screen from my instance. At my instance there's a " Group Status "Added" " statement in the last line (see print) that doesn't appear in the demo (http://joomla.demo.civicrm.org/index.php?option=com_civicrm&task=civicrm/profile&gid=2&reset=1 > try "adams" in the Last Name) . It makes sense to me that this statement is the one causing the issue. But why is it there? I compared my "Search Preferences" to the Demo, it's the same.  
  > **username_3**: While editting the profile, click on Advanced Settings fieldset near bottom and investigate options on your system / profile vs one without problems on demo site. HTH.  
  > **username_0**: TY Joe, good idea, I checked and they look pretty much the same, mine has Recaptcha turned on, I turned off, no difference... mystery remains.  
  > **username_0**: I was able to avoid the duplicates switching from the a smart group to a regular one, where I added manually the deserved contacts. This solves the problem by now, to show the directory working, but will force me to update the regular group constantly, I'd better use the smart group. Any ideas?  
  
  ---
  
  ## 0 answers
  
  