http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13592
Jonathan Druart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |ommunity.org --- Comment #3 from Jonathan Druart <[email protected]> --- What I understand: If it's the first hold placed on this record, the patron is not charged. See the following (ugly) snippet of code (from C4::Reserves::GetReserveFee): 794 if ( $allissued == 0 ) { 795 my $rsth = 796 $dbh->prepare("SELECT * FROM reserves WHERE biblionumber = ?"); 797 $rsth->execute($biblionumber); 798 if ( my $rdata = $rsth->fetchrow_hashref ) { 799 } 800 else { 801 $fee = 0; 802 } 803 } If no reserve exists, the fee is set to 0. This behavior seems to exist for a while. What would be the expected behavior? Does someone have an idea of why this condition exists? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] 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/
