https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16464
--- Comment #5 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> --- Comment on attachment 54454 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54454 Bug 16464 - If a patron has been discharged, show a message in the OPAC Review of attachment 54454: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=16464&attachment=54454) ----------------------------------------------------------------- ::: opac/opac-user.pl @@ +101,5 @@ > } > + my $available = Koha::Patron::Discharge::count({ > + borrowernumber => $borrowernumber, > + validated => 1, > + }); Why do you count the number of validated discharges? I'd say that the following call to is_discharged is enough. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/