}
return try {
my $items_set = $item->bundle_items;
my $items_set = Koha::Items->search(
my $items = $c->objects->search( $items_set );
{
'item_bundles_item.host' => $item_id,
},
join => 'item_bundles_item',
);
my $items = $c->objects->search($items_set);
return $c->render(
status => 200,
openapi => $items
"data": "lost_status:last_seen_date:return_claim.patron",
"title": _("Status"),
"searchable": false,
"orderable": true,
"orderable": false,
"render": function(data, type, row, meta) {
if ( row.lost_status == bundle_lost_value ) {
let out = '<span class="lost">' + _("Last seen") + ': ' + $date(row.last_seen_date) + '</span>';
-