Advanced Search: Auto-complete search on foreign keys

SVN:b1162[5594]
This commit is contained in:
Eric Espié
2018-04-03 13:12:49 +00:00
parent d22d3945ee
commit 013dcdf93e
5 changed files with 106 additions and 26 deletions

View File

@@ -263,6 +263,14 @@ try
$oWidget->ShowModalSearchForeignKeys($oPage, $sTitle);
break;
// ui.searchformforeignkeys
case 'GetFullListForeignKeysFromSelection':
$oPage->SetContentType('application/json');
$oWidget = new UISearchFormForeignKeys($sClass);
$oFullSetFilter = new DBObjectSearch($sClass);
$oWidget->GetFullListForeignKeysFromSelection($oPage, $oFullSetFilter);
break;
// ui.searchformforeignkeys
case 'ListResultsSearchForeignKeys':
$oPage->SetContentType('text/html');
@@ -275,6 +283,7 @@ try
$oWidget->ListResultsSearchForeignKeys($oPage, $sRemoteClass);
break;
// ui.linkswidget
case 'addObjects':
$oPage->SetContentType('text/html');