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 CiviMember (Moderator: Deepak Srivastava) »
  • Profile Search - Group search not working as expected
Pages: [1]

Author Topic: Profile Search - Group search not working as expected  (Read 1541 times)

innov8ion

  • Guest
Profile Search - Group search not working as expected
February 17, 2009, 07:30:45 pm
I am querying by groups utilizing the front end "profile search" capability. I've got 7 groups and can query them by use of the checkbox.  However, when I check one of the group boxes and search, the query is nothing like what I expect.  For instance, say I check the first group box and leave the other six empty. 

The actual query states:

Quote
Displaying contacts where:
Member of Group in Group 1 or Group 2 or Group 3 or Group 4 or Group 5 or Group 6 or Group 7
...And...
Group Status = "Added"

Shouldn't it actually be the following?:

Quote
Displaying contacts where:
Member of Group in Group 1
...And...
Group Status = "Added"


« Last Edit: February 17, 2009, 07:37:22 pm by innov8ion »

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Profile Search - Group search not working as expected
February 17, 2009, 10:50:24 pm
hi,

If you check any group from profile, search criteria will effective for entire set of groups that are present in profile search form.
So might be due to this behavior we are having 'or' clause for entire set of groups.

kiran
You Are Designed To Choose... Defined By Choice.

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: Profile Search - Group search not working as expected
February 17, 2009, 11:10:56 pm
Hi
This was the bug in profile search, with group
i filed an issue in jira http://issues.civicrm.org/jira/browse/CRM-4141
and also fixed. here is patch http://fisheye.civicrm.org/changelog/CiviCRM?cs=19923
This will be part of next 2.2 beta release.

sunil
The community around a product more important than the product itself?

innov8ion

  • Guest
Re: Profile Search - Group search not working as expected
February 18, 2009, 05:54:05 am
^ Thanks Sunil!  This worked like a charm.

Now if I can figure out how to add the Job Title field to that report, I'll be set. :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Profile Search - Group search not working as expected

This forum was archived on 2017-11-26.