We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb10f51 commit 975184bCopy full SHA for 975184b
1 file changed
module/VuFind/src/VuFind/Controller/RecordController.php
@@ -78,12 +78,12 @@ public function getThisAction(): ViewModel
78
$view = $this->createViewModel();
79
$id = $this->params()->fromRoute('id');
80
$itemId = $this->params()->fromQuery('item_id');
81
- $items = $this->getILS()->getStatuses([$id]);
+ $items = $this->getILS()->getStatus($id);
82
$getThis = $this->getService(GetThisLoader::class);
83
if (isset($view->driver)) {
84
$getThis->setRecord($view->driver);
85
}
86
- $getThis->setItems(current($items));
+ $getThis->setItems($items);
87
$getThis->setDefaultItemId($itemId);
88
89
$view->getThis = $getThis;
0 commit comments