projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c50e0bb
)
Change parent class on mailing_form
author
eileen
<emcnaughton@wikimedia.org>
Sun, 27 Oct 2019 21:49:48 +0000
(10:49 +1300)
committer
eileen
<emcnaughton@wikimedia.org>
Sun, 27 Oct 2019 22:07:29 +0000
(11:07 +1300)
CRM/Mailing/Form/Search.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/Form/Search.php
b/CRM/Mailing/Form/Search.php
index 6c03b4e9ef0de4dc460b9e6e6bf86d9aeadd561d..3568f7b3da98a5ed13f8d6e77692ba55c9aceb87 100644
(file)
--- a/
CRM/Mailing/Form/Search.php
+++ b/
CRM/Mailing/Form/Search.php
@@
-30,7
+30,16
@@
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2019
*/
-class CRM_Mailing_Form_Search extends CRM_Core_Form {
+class CRM_Mailing_Form_Search extends CRM_Core_Form_Search {
+
+ /**
+ * Get the default entity being queried.
+ *
+ * @return string
+ */
+ public function getDefaultEntity() {
+ return 'Mailing';
+ }
public function preProcess() {
parent::preProcess();