Issue Bug Rejected

#84864setEnableFieldsToBeIgnored(array("endtime")) not work

Schu Miel 04/25/18, 09:21 updated 04/25/18, 13:10

Description

Hi,

I want to access the database field “endtime”.
According to many sources, I have collected the following:

[code]public function findAllForm() {
$query = $this->createQuery();
$querySettings = $query->getQuerySettings();
$query->getQuerySettings()->setIgnoreEnableFields(true);
$query->getQuerySettings()->setEnableFieldsToBeIgnored(array(“endtime”));
$query->setQuerySettings($querySettings);
return $query->execute();
}[/code]

Then call it up as follows:

[code]$allItems = $this->FormYouRepository->findAllForm();[/code]

If I then output the function via var_dump, this array will not be listed at all.
Where is my mistake?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.