Go to file
CiviWare Solutions 8ef7bea74c Used existing function to build query 2019-01-10 22:58:39 +00:00
CRM/ConstituentsOnly/BAO Used existing function to build query 2019-01-10 22:58:39 +00:00
templates/CRM Added 'Include non-constituents in this search' on Advance search 2018-10-11 03:03:38 +05:30
LICENSE.txt added extension 2018-08-30 13:21:33 +01:00
README.md added extension 2018-08-30 13:21:33 +01:00
constituentsonly.civix.php added extension 2018-08-30 13:21:33 +01:00
constituentsonly.php Fixed multiple adding of 'include' field 2018-10-19 00:41:08 +05:30
info.xml added extension 2018-08-30 13:21:33 +01:00

README.md

Constituents Only Filter

CiviCRM Extension to allow only AGBU constituents to appear in searches and reports. AGBU wants only records that are flagged as a "constituent" to be included in searches and reports. For instance, if John Doe is a donor and Jane Doe is his wife, you can see Jane's info from John's relationships tab, but she won't show up in search.

This extension that allows us to exclude users from search but still allow them to appear in relationships. Here we repurposed the "do_not_trade" field in the civicrm_contact table in the database. Only contacts with this field/flag set is considered constituent and will be returned in the searches and reports.

Install as any other CiviCRM Extension.

Release Notes:

  • This CiviCRM extension is custom developed for AGBU.org
  • This is the alpha version, more changes to come as it is tested in real environment.
  • This extension id designed to work on CiviCRM 4.7+.

Author: Joozer Tohfafarosh, DPCI, jtohfafarosh at dpci dot com.

Mentor: Jon Goldberg, Megaphone Technology Consulting.