mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 20:18:52 +02:00
Advanced Search: Numeric fields and dates
SVN:b1162[5492]
This commit is contained in:
@@ -301,11 +301,11 @@ class CriterionConversionTest extends ItopDataTestCase
|
||||
*/
|
||||
function testOqlToForSearchToOql($sOQL)
|
||||
{
|
||||
$this->debug($sOQL);
|
||||
$oSearchForm = new SearchForm();
|
||||
$oSearch = \DBSearch::FromOQL($sOQL);
|
||||
$aFields = $oSearchForm->GetFields(new \DBObjectSet($oSearch));
|
||||
$aCriterion = $oSearchForm->GetCriterion($oSearch, $aFields);
|
||||
$this->debug($sOQL);
|
||||
|
||||
$aAndCriterion = $aCriterion['or'][0]['and'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user