Details
-
Type: New Feature
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5.6
-
Fix Version/s: 4.6
-
Component/s: None
-
Labels:None
-
Documentation Required?:Developer Doc
Description
When showing the relationships of a contact on the relation tab the data gets called via an ajax call
var sourceUrl =
'
{crmURL p="civicrm/ajax/contactrelationships" h=0 q="context=$context&cid=$contactId"}'
{literal};
The context parameter defines, if we add the current or previous relations.
There is however no possibility to return all relations.
The function used through te ajax call is
public static function getContactRelationshipSelector(&$params)
If we add a context=all possibility we can return this quite easily.