Skip to content
Snippets Groups Projects
Commit 39bf2a6c authored by Ere Maijala's avatar Ere Maijala Committed by Robert Lange
Browse files

KohaRest: Take public notes for items from the correct field.

parent 0367d4b6
No related merge requests found
......@@ -1705,8 +1705,8 @@ class KohaRest extends \VuFind\ILS\Driver\AbstractBase implements
$result['data']['hold_queue_length']]
)
];
if (!empty($item['itemnotes'])) {
$entry['item_notes'] = [$item['itemnotes']];
if (!empty($item['public_notes'])) {
$entry['item_notes'] = [$item['public_notes']];
}
if ($patron && $this->itemHoldAllowed($item)) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment