[Koha-bugs] [Bug 17712] Move availability calculation to the Koha namespace

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 6 22:29:50 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17712

--- Comment #67 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 84837
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84837&action=edit
Bug 17712: Item and biblio availability in search context

Usage:
my $availability = Koha::Availability::Search->item({
  item => $item,
})->in_opac;
if ($availability->available) {
  # yes
}

Signed-off-by: Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list