[Koha-bugs] [Bug 9180] Default rules are not always used for overdues

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Feb 2 09:07:00 CET 2013


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

--- Comment #6 from Sophie MEYNIEUX <sophie.meynieux at biblibre.com> ---
Another of our library client complains about overdue notices not generated.

They've got overduerules for all kind of patrons and specific rules only for
one branch U1BUCG :

Here is the output logs I've got :
"Found 1 branch with first message enabled: 'U1BUCG'
branch U1AGCCPF passed on parameter
No active overduerules for branch  'U1AGCCPF'
No active overduerules for DEFAULT either!"

In database, default overdue rules are stored with '' as a branchcode. And the
function that get all overduerules does not select thoses 
(C4::Overdues::GetBranchcodesWithOverdueRules):
"SELECT DISTINCT branchcode FROM overduerules WHERE delay1 IS NOT NULL AND
branchcode <> '' ORDER BY branchcode"

I don't know how it can work without the patch... Maybe your default rules got
another branchcode than '' ?

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


More information about the Koha-bugs mailing list