[Koha-bugs] [Bug 17560] Hold fee placement at point of checkout
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 30 11:39:23 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17560
--- Comment #43 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
+ $hold_existed = Koha::Holds->search({ -or => { 'biblionumber'
=> $item->biblionumber, 'itemnumber' => $item->itemnumber}})->count;
versus
+ my $had_an_hold_placed_on_it = Koha::Holds->search({
borrowernumber => $borrower->{borrowernumber}, itemnumber => $item->itemnumber
})->count;
This difference may actually illustrate why a consolidation would be nice.
Will amend it.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list