We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reading of collections from database doesn't work in MetadataController.
MetadataController
The collections should be read correctly from database and displayed to the frontend.
Argument $value is a string not and array.
$value
string
array
private function parseCollections(int $i, $value, array &$metadata) : void { $j = 0; foreach ($value as $entry) { $collection = $this->collectionRepository->findOneByIndexName($entry); if ($collection) { $metadata[$i]['collection'][$j] = $collection->getLabel() ? : ''; $j++; } } }
Related to #1314 and #1308
The text was updated successfully, but these errors were encountered:
chrizzor
Successfully merging a pull request may close this issue.
Description
Reading of collections from database doesn't work in
MetadataController
.Expected Behavior
The collections should be read correctly from database and displayed to the frontend.
Screenshots and Examples
Argument
$value
is astring
not andarray
.Additional Context
Related to #1314 and #1308
The text was updated successfully, but these errors were encountered: