"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tine20/Tinebase/Model/Filter/ForeignRecord.php" between
tine20-2020.08.3.tar.gz and tine20-2020.08.4.tar.gz

About: Tine 2.0 is a platform independent business software system which combines groupware and customer relationship management (CRM). Commercial support is available. Source code.

ForeignRecord.php  (tine20-2020.08.3):ForeignRecord.php  (tine20-2020.08.4)
skipping to change at line 286 skipping to change at line 286
* @param Tinebase_Model_Filter_FilterGroup $_filtergroup * @param Tinebase_Model_Filter_FilterGroup $_filtergroup
* @param bool $_valueToJson resolve value for json api? * @param bool $_valueToJson resolve value for json api?
* *
* @todo move this to filtergroup? * @todo move this to filtergroup?
*/ */
protected function _filterGroupToArrayWithoutCondition(&$result, Tinebase_Mo del_Filter_FilterGroup $_filtergroup, $_valueToJson) protected function _filterGroupToArrayWithoutCondition(&$result, Tinebase_Mo del_Filter_FilterGroup $_filtergroup, $_valueToJson)
{ {
$filterObjects = $_filtergroup->getFilterObjects(); $filterObjects = $_filtergroup->getFilterObjects();
/** @var Tinebase_Model_Filter_Abstract $filter */ /** @var Tinebase_Model_Filter_Abstract $filter */
foreach ($filterObjects as $filter) { foreach ($filterObjects as $filter) {
if ($filter instanceof Tinebase_Model_Filter_FilterGroup) { if ($filter instanceof Tinebase_Model_Filter_FilterGroup && !$filter instanceof Tinebase_Model_Filter_Query) {
$this->_filterGroupToArrayWithoutCondition($result, $filter, $_v alueToJson); $this->_filterGroupToArrayWithoutCondition($result, $filter, $_v alueToJson);
} else { } else {
$result[] = $filter->toArray($_valueToJson); $result[] = $filter->toArray($_valueToJson);
} }
} }
} }
/** /**
* get filter information for toArray() * get filter information for toArray()
* *
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)