Skip to content
Snippets Groups Projects
Commit 109a3089 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #2299 from kurund/CRM-12506

fix the broken link to view all the contributions for a contact, CRM-125...
parents 96e1088c c2874d9c
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
......@@ -86,7 +86,7 @@
</tr>
{elseif $context eq 'contribution' }
<tr class="even-row">
<td colspan="8"><a href="{crmURL p='civicrm/contact/view' q="reset=1&force=1&selectedChild=contribute&cid=$contactId"}">&raquo; {ts}View all contributions from this contact{/ts}... </a></td>
<td colspan="8"><a href="{crmURL p='civicrm/contribute/search' q="reset=1&force=1&cid=$contactId"}">&raquo; {ts}View all contributions from this contact{/ts}... </a></td>
</tr>
{/if}
{/if}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment