[Koha-bugs] [Bug 5144] Duplicate holds allowed if patron clicks back button after placing hold

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 23 17:04:08 CET 2015


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

--- Comment #20 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Comment on attachment 35091
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35091
Bug 5144 [2] - Duplicate holds allowed if patron clicks back button after
placing hold

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

::: C4/Reserves.pm
@@ +161,5 @@
> +        ( $biblionumber, $borrowernumber )
> +    );
> +    if ( $count > 0 ) {
> +        carp("AddReserve: borrower $borrowernumber already has $count holds for biblionumber $biblionumber");
> +        return;

This will be in conflict with bug 7710.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list