From ef65c5f5454ab06e6aa19c258018d9c43ebdae9c Mon Sep 17 00:00:00 2001
From: Jaap Jansma <jaap.jansma@civicoop.org>
Date: Mon, 14 Dec 2020 14:12:24 +0100
Subject: [PATCH] Fix for #68: contact search actions did not work after
 upgrading to 5.32.2

---
 CHANGELOG.md                                          | 2 ++
 CRM/Contact/Controller/DataProcessorContactSearch.php | 1 +
 2 files changed, 3 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b1a44f6e..e513caf8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,7 @@
 # Version 1.25 (not yet released)
 
+* Fix for #68: contact search actions did not work after upgrading to 5.32.2
+
 # Version 1.24.1
 
 * Fixed regression bug when only one activity data source is present.
diff --git a/CRM/Contact/Controller/DataProcessorContactSearch.php b/CRM/Contact/Controller/DataProcessorContactSearch.php
index ee55c4f4..e290f030 100644
--- a/CRM/Contact/Controller/DataProcessorContactSearch.php
+++ b/CRM/Contact/Controller/DataProcessorContactSearch.php
@@ -42,6 +42,7 @@ class CRM_Contact_Controller_DataProcessorContactSearch extends CRM_Core_Control
 
     // create and instantiate the pages
     $this->addPages($this->_stateMachine, $action);
+    $this->set('entity', 'Contact');
 
     // add all the actions
     $this->addActions();
-- 
GitLab