💚 Fix unit tests

This commit is contained in:
Eric
2019-10-16 11:36:01 +02:00
parent 65512ca984
commit fbc5280add
26 changed files with 964 additions and 359 deletions

View File

@@ -1556,7 +1556,19 @@ class DBObjectSearch extends DBSearch
return $sRet;
}
// ENTRY POINT API à conserver
/**
* Get an SQLObjectQuery from the search. This SQLObjectQuery can be rendered as a select, select group by, update or delete
*
* @param array $aAttToLoad array of 'attCode' => AttributeDefinition
* @param bool $bGetCount true for count requests
* @param null array $aGroupByExpr array of 'field name' => FieldOQLExpression
* @param null array $aSelectedClasses
* @param null array $aSelectExpr array of 'attCode' => Expression
*
* @return array|mixed|\SQLObjectQuery|null
* @throws \CoreException
*/
public function GetSQLQueryStructure($aAttToLoad, $bGetCount, $aGroupByExpr = null, $aSelectedClasses = null, $aSelectExpr = null)
{
// Hide objects that are not visible to the current user