projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3943 from civicrm/master
[civicrm-core.git]
/
CRM
/
Event
/
Page
/
ManageEvent.php
diff --git
a/CRM/Event/Page/ManageEvent.php
b/CRM/Event/Page/ManageEvent.php
index 85b2ab12f739ecd679a021967314c526d4f6a394..3183936fedb8261c039c1ab542e7f6d382c61598 100644
(file)
--- a/
CRM/Event/Page/ManageEvent.php
+++ b/
CRM/Event/Page/ManageEvent.php
@@
-416,6
+416,13
@@
ORDER BY start_date desc
$form->run();
}
$form->run();
}
+ /**
+ * @param $params
+ * @param bool $sortBy
+ * @param $force
+ *
+ * @return string
+ */
function whereClause(&$params, $sortBy = TRUE, $force) {
$values = array();
$clauses = array();
function whereClause(&$params, $sortBy = TRUE, $force) {
$values = array();
$clauses = array();
@@
-504,6
+511,10
@@
ORDER BY start_date desc
return !empty($clauses) ? implode(' AND ', $clauses) : '(1)';
}
return !empty($clauses) ? implode(' AND ', $clauses) : '(1)';
}
+ /**
+ * @param $whereClause
+ * @param $whereParams
+ */
function pager($whereClause, $whereParams) {
$params['status'] = ts('Event %%StatusMessage%%');
function pager($whereClause, $whereParams) {
$params['status'] = ts('Event %%StatusMessage%%');
@@
-526,6
+537,10
@@
SELECT count(id)
$this->assign_by_ref('pager', $this->_pager);
}
$this->assign_by_ref('pager', $this->_pager);
}
+ /**
+ * @param $whereClause
+ * @param $whereParams
+ */
function pagerAtoZ($whereClause, $whereParams) {
$query = "
function pagerAtoZ($whereClause, $whereParams) {
$query = "