-
-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CRM_Custom_Form_Group - -1 spaghetti
So... there's a helper function `getContactRelationshipType` which provided a restricted listing of relationship-types (as they apply to specific contact types or subtypes). But what if you wanted the list of relationship-types, without filtering by contact-type? You *could* go through and query eve.ry.sin.gle.contac.ttype.and.cont.act.subty.pe. And then merge all of these lists. And then parse and remerge the strange intermediate format. Or... you just load the list you wanted... directly... in the format you wanted...
- Loading branch information
Showing
1 changed file
with
22 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters