Remove 'hack' that overwrites result of searchColumns hook in mailings list
authorMatthew Wire <mjw@mjwconsult.co.uk>
Sat, 22 Aug 2020 21:54:59 +0000 (22:54 +0100)
committerMatthew Wire <mjw@mjwconsult.co.uk>
Sat, 22 Aug 2020 21:55:09 +0000 (22:55 +0100)
CRM/Mailing/Page/Browse.php

index 9982bd1a79b52560a07b1398d4a73132edd9e5e0..a02b6adcbb7060a23e1577f1b69c702711137cc3 100644 (file)
@@ -243,11 +243,6 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page {
     $controller->setEmbedded(TRUE);
     $controller->run();
 
-    // hack to display results as per search
-    $rows = $controller->getRows($controller);
-
-    $this->assign('rows', $rows);
-
     $urlParams = 'reset=1';
     $urlString = 'civicrm/mailing/browse';
     if ($this->get('sms')) {