HOR-2901
This commit is contained in:
@@ -297,6 +297,15 @@ class ListParticipatedLast extends BaseListParticipatedLast
|
|||||||
$aConditions[] = array(ProcessPeer::PRO_CATEGORY, "'".$category."'");
|
$aConditions[] = array(ProcessPeer::PRO_CATEGORY, "'".$category."'");
|
||||||
$criteria->addJoinMC($aConditions, Criteria::INNER_JOIN);
|
$criteria->addJoinMC($aConditions, Criteria::INNER_JOIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Those filters: $newestthan, $oldestthan is used from mobile GET /light/participated
|
||||||
|
if ($newestthan != '') {
|
||||||
|
$criteria->add( $criteria->getNewCriterion( ListParticipatedLastPeer::DEL_DELEGATE_DATE, $newestthan, Criteria::GREATER_THAN ));
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($oldestthan != '') {
|
||||||
|
$criteria->add( $criteria->getNewCriterion( ListParticipatedLastPeer::DEL_DELEGATE_DATE, $oldestthan, Criteria::LESS_THAN ));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function loadList($usr_uid, $filters = array(), $callbackRecord = null, $appUid = '')
|
public function loadList($usr_uid, $filters = array(), $callbackRecord = null, $appUid = '')
|
||||||
|
|||||||
Reference in New Issue
Block a user