From b899db8f12f0bc82b05e63adbccc3329d4df8821 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Mon, 20 Oct 2014 15:09:04 +0530 Subject: [PATCH] CRM-15477 --- CRM/Contribute/Form/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/Search.php b/CRM/Contribute/Form/Search.php index 5a8a86f08f..ab349f2a9f 100644 --- a/CRM/Contribute/Form/Search.php +++ b/CRM/Contribute/Form/Search.php @@ -261,7 +261,7 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search { $this->fixFormValues(); // We don't show test records in summaries or dashboards - if (empty($this->_formValues['contribution_test']) && $this->_force) { + if (empty($this->_formValues['contribution_test']) && $this->_force && !empty($this->_context) && $this->_context == 'dashboard') { $this->_formValues["contribution_test"] = 0; } -- 2.25.1