[koha-commits] main Koha release repository branch, new/bug_2975, created. v3.02.00-761-g2e963dc
Git repo owner
gitmaster at git.koha-community.org
Mon Mar 7 02:35:47 CET 2011
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_2975 has been created
at 2e963dc416f533a0acb857f022295da42ceed1ff (commit)
- Log -----------------------------------------------------------------
commit 2e963dc416f533a0acb857f022295da42ceed1ff
Author: Galen Charlton <gmcharlt at gmail.com>
Date: Thu Mar 3 14:52:47 2011 -0500
bug 2975: whitespace and formatting cleanup
Not part of the bugfix per se, but taking this chance
to clean up some inconsistent tabbing.
Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
commit 935635aba5dc0ab62f9476986cc418ae8c980b57
Author: Galen Charlton <gmcharlt at gmail.com>
Date: Thu Mar 3 14:52:46 2011 -0500
bug 2975: fix calculation of due dates by offline circ
Offline circ no longer tries to calculate the due date
directly, instead relying on the AddIssue and AddRenewal
APIs to do so. This corrects a bug where the due date
would be calculated incorrectly if the item-level_itypes
system preference is turned on.
This change also has the effect of causing the issue date
for loans uploaded via offline circulation to be set
to the time stamp recorded by the offline circulation client.
Test plan:
* Turn on item-level_itypes
* Create an example item whose loan policy per
the item's item type would be different from
the default policy based on the bib-level type.
* Create a test KOC file with a loan of the test
item and the checkout date artificially set
to yesterday.
* Upload the file:
- Before the fix, the due date would be set
to the default due date. Also, the issue date
will be set to the date of the upload.
- After the fix, the due date would be calculated
correctly based on the item's item type. Also,
the issue date will be set to the date recorded
by the offline circulation client.
Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
-----------------------------------------------------------------------
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list