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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Searching for soft credited individuals from a contributor group?
Pages: [1]

Author Topic: Searching for soft credited individuals from a contributor group?  (Read 365 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Searching for soft credited individuals from a contributor group?
November 20, 2013, 01:56:29 pm
Sponsorship likely available for this one if a solution doesn't already exist...

There doesn't seem to be an easy way to search for "contacts who have been soft credited by a group of other contacts".

The Soft Credit Report has a filter for soft credit group, but NOT contributor group.  Looking at the code, I don't understand how to add this second group filter, or if there is another non-report search or solution I'm missing.

Code: [Select]
'civicrm_group' =>
      array(
        'dao' => 'CRM_Contact_DAO_GroupContact',
        'alias' => 'cgroup',
        'filters' =>
        array(
          'gid' =>
          array(
            'name' => 'group_id',
            'title' => ts('Soft Credit Group'),
            'operatorType' => CRM_Report_Form::OP_MULTISELECT,
            'group' => TRUE,
            'options' => CRM_Core_PseudoConstant::group(),
          ),
        ),
      ),
Thoughts anyone?
« Last Edit: November 20, 2013, 01:58:05 pm by CiviTeacher.com »
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Searching for soft credited individuals from a contributor group?

This forum was archived on 2017-11-26.