From c2874d9c9a7c55ffb17bb8f1459b190bbda36724 Mon Sep 17 00:00:00 2001 From: kurund Date: Mon, 6 Jan 2014 16:55:24 -0800 Subject: [PATCH] fix the broken link to view all the contributions for a contact, CRM-12506 ---------------------------------------- * CRM-12506: Contact Contribution tab will not show more than 50 contributions http://issues.civicrm.org/jira/browse/CRM-12506 --- CRM/Contribute/Page/Tab.php | 1 + templates/CRM/Contribute/Form/Selector.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Contribute/Page/Tab.php b/CRM/Contribute/Page/Tab.php index 9ccdb57df3..f6fc59983e 100644 --- a/CRM/Contribute/Page/Tab.php +++ b/CRM/Contribute/Page/Tab.php @@ -167,6 +167,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { $controller->set('cid', $this->_contactId); $controller->set('crid', $this->_crid); $controller->set('context', 'contribution'); + $controller->set('limit', 50); $controller->process(); $controller->run(); diff --git a/templates/CRM/Contribute/Form/Selector.tpl b/templates/CRM/Contribute/Form/Selector.tpl index 211a3bda27..cf9dde368d 100644 --- a/templates/CRM/Contribute/Form/Selector.tpl +++ b/templates/CRM/Contribute/Form/Selector.tpl @@ -86,7 +86,7 @@ {elseif $context eq 'contribution' } - » {ts}View all contributions from this contact{/ts}... + » {ts}View all contributions from this contact{/ts}... {/if} {/if} -- 2.25.1