Advanced Search

Convert from raw OQL to search form widget operator

SVN:b1162[5395]
This commit is contained in:
Eric Espié
2018-03-08 17:01:17 +00:00
parent 2033c171f0
commit c04f73e86b
9 changed files with 362 additions and 39 deletions

View File

@@ -81,6 +81,7 @@ class CriterionParserTest extends ItopDataTestCase
$sOQL = CriterionParser::Parse($sBaseOql, $aCriterion);
$this->debug($sOQL);
$this->markTestIncomplete();
$this->assertEquals("SELECT `UserRequest` FROM UserRequest AS `UserRequest` WHERE ((`UserRequest`.`start_date` > '2017-01-01') AND (`UserRequest`.`start_date` < '2018-01-01'))", $sOQL);
}
}