Koha::Filter::MARC::EmbedItemsAvailability - calculates item availability and embeds it in a fixed MARC subfield for indexing.
my $processor = Koha::RecordProcessor->new({ filters => ('EmbedItemsAvailability') });
Filter to embed items not on loan count information into MARC records.
my $newrecord = $filter->filter($record); my $newrecords = $filter->filter(\@records);
Embed not on loan items count into the specified record(s) and return the result.