[Koha-bugs] [Bug 13851] Replace waiting holds logic in circulation.pl with Koha Objects

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 18 12:23:38 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13851

--- Comment #3 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Comment on attachment 36947
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36947
Bug 13851 - Replace waiting holds logic in circulation.pl with Koha Objects

Review of attachment 36947:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=13851&attachment=36947)
-----------------------------------------------------------------

Please provide tests for new packages.

::: circ/circulation.pl
@@ +389,4 @@
>  # BUILD HTML
>  # show all reserves of this borrower, and the position of the reservation ....
>  if ($borrowernumber) {
> +    my $holds = Koha::Holds->new()->search( { borrowernumber => $borrowernumber } );

Koha::Holds->search
should be enough.

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


More information about the Koha-bugs mailing list