Mepps has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/363630 )

Change subject: Remove limit 1 for field mappings selection
......................................................................

Remove limit 1 for field mappings selection

Bug: T169886
Change-Id: Ic0bfb0ef2296d60e3e093204ebe745cf713f7a02
---
M CRM/Core/BAO/Mapping.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm/civicrm 
refs/changes/30/363630/1

diff --git a/CRM/Core/BAO/Mapping.php b/CRM/Core/BAO/Mapping.php
index bebf732..e64452f 100644
--- a/CRM/Core/BAO/Mapping.php
+++ b/CRM/Core/BAO/Mapping.php
@@ -115,7 +115,7 @@
    *   Array of mapping names, keyed by id.
    */
   public static function getMappings($mappingType) {
-    $result = civicrm_api3('Mapping', 'get', array('mapping_type_id' => 
$mappingType, 'options' => array('limit' => 1, 'sort' => 'name')));
+    $result = civicrm_api3('Mapping', 'get', array('mapping_type_id' => 
$mappingType, 'options' => array('sort' => 'name')));
     $mapping = array();
 
     foreach ($result['values'] as $key => $value) {

-- 
To view, visit https://gerrit.wikimedia.org/r/363630
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic0bfb0ef2296d60e3e093204ebe745cf713f7a02
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: master
Gerrit-Owner: Mepps <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to