N°7552 - Adjust linkedset display as tag endpoint to return only necessary data

This commit is contained in:
Molkobain
2024-07-03 16:53:09 +02:00
parent 7b6334d447
commit 8c4c0ff5e1
2 changed files with 5 additions and 3 deletions

View File

@@ -795,10 +795,12 @@ JS;
* Search objects via an oql and a friendly name search string
*
* @return JsonPage
* @used-by LinkedSet attribute when in tag display
*/
public function OperationSearch(): JsonPage
{
$oPage = new JsonPage();
$oPage->SetOutputDataOnly(true);
// Retrieve query params
$sObjectClass = utils::ReadParam('object_class', '', false, utils::ENUM_SANITIZATION_FILTER_STRING);