jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/379628 )

Change subject: Add default limit
......................................................................


Add default limit

Change-Id: I78509d3027975f0abd09f5f76cf0537c4de32e9a
---
M CRM/Contact/Form/Merge.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  jenkins-bot: Verified
  Ejegg: Looks good to me, approved



diff --git a/CRM/Contact/Form/Merge.php b/CRM/Contact/Form/Merge.php
index 146b153..1ebda3e 100644
--- a/CRM/Contact/Form/Merge.php
+++ b/CRM/Contact/Form/Merge.php
@@ -78,7 +78,7 @@
       $this->_rgid = CRM_Utils_Request::retrieve('rgid', 'Positive', $this, 
FALSE);
       $this->_gid = $gid = CRM_Utils_Request::retrieve('gid', 'Positive', 
$this, FALSE);
       $this->_mergeId = CRM_Utils_Request::retrieve('mergeId', 'Positive', 
$this, FALSE);
-      $this->limit = CRM_Utils_Request::retrieve('limit', 'Positive', $this, 
FALSE);
+      $this->limit = CRM_Utils_Request::retrieve('limit', 'Positive', $this, 
FALSE, 500);
       $this->criteria = CRM_Utils_Request::retrieve('criteria', 'String', 
$this, FALSE, '{}');
 
       $urlParams = "reset=1&rgid={$this->_rgid}&gid={$this->_gid}&limit=" . 
$this->limit . '&criteria=' . $this->criteria;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I78509d3027975f0abd09f5f76cf0537c4de32e9a
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: master
Gerrit-Owner: Mepps <me...@wikimedia.org>
Gerrit-Reviewer: Ejegg <ej...@ejegg.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to