From 734b09fb30402135c2a1a031117b9f00eef813ac Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 20 Oct 2015 16:21:48 -0400 Subject: [PATCH] Add searchForm css wherever alpha pager is used --- CRM/Contribute/Page/ContributionPage.php | 2 ++ CRM/Event/Page/ManageEvent.php | 2 ++ CRM/Mailing/Page/Browse.php | 2 ++ 3 files changed, 6 insertions(+) diff --git a/CRM/Contribute/Page/ContributionPage.php b/CRM/Contribute/Page/ContributionPage.php index d7d456cf5b..a133520f24 100644 --- a/CRM/Contribute/Page/ContributionPage.php +++ b/CRM/Contribute/Page/ContributionPage.php @@ -389,6 +389,8 @@ AND cp.page_type = 'contribute' * Unused parameter. */ public function browse($action = NULL) { + Civi::resources()->addStyleFile('civicrm', 'css/searchForm.css', 1, 'html-header'); + $this->_sortByCharacter = CRM_Utils_Request::retrieve('sortByCharacter', 'String', $this diff --git a/CRM/Event/Page/ManageEvent.php b/CRM/Event/Page/ManageEvent.php index 7c17945ecd..dc57ff0cbd 100644 --- a/CRM/Event/Page/ManageEvent.php +++ b/CRM/Event/Page/ManageEvent.php @@ -248,6 +248,8 @@ class CRM_Event_Page_ManageEvent extends CRM_Core_Page { * @return void */ public function browse() { + Civi::resources()->addStyleFile('civicrm', 'css/searchForm.css', 1, 'html-header'); + $this->_sortByCharacter = CRM_Utils_Request::retrieve('sortByCharacter', 'String', $this diff --git a/CRM/Mailing/Page/Browse.php b/CRM/Mailing/Page/Browse.php index 5d3675fa1d..33c7e81a14 100644 --- a/CRM/Mailing/Page/Browse.php +++ b/CRM/Mailing/Page/Browse.php @@ -78,6 +78,8 @@ class CRM_Mailing_Page_Browse extends CRM_Core_Page { * the contact and calls the appropriate type of page to view. */ public function preProcess() { + Civi::resources()->addStyleFile('civicrm', 'css/searchForm.css', 1, 'html-header'); + $this->_unscheduled = $this->_archived = $archiveLinks = FALSE; $this->_mailingId = CRM_Utils_Request::retrieve('mid', 'Positive', $this); $this->_sms = CRM_Utils_Request::retrieve('sms', 'Positive', $this); -- 2.25.1