[koha-commits] main Koha release repository branch new/bug_8640 created. v3.08.00-600-g88d5a2f
Git repo owner
gitmaster at git.koha-community.org
Wed Aug 29 18:12:33 CEST 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, new/bug_8640 has been created
at 88d5a2f2a4fe946e74855e271bd062ab721798a9 (commit)
- Log -----------------------------------------------------------------
commit 88d5a2f2a4fe946e74855e271bd062ab721798a9
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Tue Aug 14 13:17:38 2012 -0400
Bug 8640 - GetHardDueDate functions incorrectly
GetHardDueDate works just like GetIssuingRule, but it not only tests for having
found an row of results before returning, but checks for the existence of a
hard due date as well. That means that even if it finds a matching rule, unless
that rule has a hardduedate set it will toss it and keep looking!
So, for example, even though there is a matching rule for say "STAFF / VIDEO / *",
but it has no hardduedate. So it gets tossed and the subroutine keeps looking.
If the next match, "STAFF / * / *" *has* a hardduedate, it is the one returned.
This means that if a more specific rule has no hard due date,
it is overridden by a less specific rule that does have a hard due date.
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
-----------------------------------------------------------------------
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list