New flag to open/collapse the search form at the top of a page in an OQLMenuNode.

SVN:trunk[4052]
This commit is contained in:
Denis Flaven
2016-05-11 10:07:36 +00:00
parent 243dee4312
commit ebd89194ee
2 changed files with 6 additions and 3 deletions

View File

@@ -1738,7 +1738,8 @@ EOF;
case 'OQLMenuNode':
$sOQL = self::QuoteForPHP($oMenu->GetChildText('oql'));
$bSearch = ($oMenu->GetChildText('do_search') == '1') ? 'true' : 'false';
$sNewMenu = "new OQLMenuNode('$sMenuId', $sOQL, $sParentSpec, $fRank, $bSearch);";
$sSearchFormOpen = ($oMenu->GetChildText('search_form_open') == '1') ? 'true' : 'false';
$sNewMenu = "new OQLMenuNode('$sMenuId', $sOQL, $sParentSpec, $fRank, $bSearch, $sSearchFormOpen);";
break;
case 'NewObjectMenuNode':