CRM-21849: Remove limit on API call
authorMichael Devery <michael@compucorp.co.uk>
Tue, 17 Apr 2018 08:50:28 +0000 (09:50 +0100)
committerMichael Devery <michael@compucorp.co.uk>
Tue, 17 Apr 2018 08:50:28 +0000 (09:50 +0100)
templates/CRM/Contact/Form/Relationship.tpl

index d66d3969a22a23de5e79ca21c850f69d9b0b7f7f..79c16e92897601bba9dcdd40539cf5ca55750783 100644 (file)
             defer.resolve(relationshipData);
           }
 
-          CRM.api3("RelationshipType", "get")
+          CRM.api3("RelationshipType", "get", {"options": {"limit":0}})
             .done(function (data) {
               $.each(data.values, function (key, relType) {
                 // Loop over the suffixes for a relationship type