loaded materials form solr with jsonapi, and display them
This commit is contained in:
@@ -102,9 +102,11 @@ class Base extends ControllerBase {
|
||||
$items = [];
|
||||
foreach ($this->results as $result) {
|
||||
$nid = $result->getField('nid')->getValues()[0];
|
||||
$uuid = $result->getField('uuid')->getValues()[0];
|
||||
$title = $result->getField('title')->getValues()[0]->getText();
|
||||
$items[] = [
|
||||
'nid' => $nid,
|
||||
'uuid' => $uuid,
|
||||
'title' => $title,
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user