Go to file
Galen Charlton 3882ea2ec3 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@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 935635aba5)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-03-12 16:15:49 -05:00
C4 bug 5693 - mc-ccode parens fix 2011-03-05 19:38:00 -05:00
acqui Bug 5399: Follow up style patch, moving exits out of subroutine 2011-01-17 18:21:07 -05:00
admin Bug 5824: Creating a circ rule for a specific library causes anomalies 2011-03-05 19:36:37 -05:00
authorities Security Bugfix: Bug 1953 Adding Placeholders to SQL To Avoid Potential Injection Attacks 2011-02-24 13:36:36 -05:00
basket Merge remote branch 'kc/master' into new/bug_5105 2010-11-10 18:04:39 -05:00
catalogue Fix for Bug 4853 - Rights needed to renew a document 2011-03-05 19:37:36 -05:00
cataloguing Bug 4263: Fix subfield ordering broken by earlier patch 2011-02-13 21:38:54 -05:00
circ Partial fix for Bug 5745, Overdues with fines report not showing titles 2011-02-24 13:35:50 -05:00
debian Bug 5550 - correct filename referenced in docs 2011-01-03 12:20:21 -05:00
docs Correcting the name of one of the developers. :) 2011-02-13 21:39:39 -05:00
errors Housekeeping in errors scripts 2010-05-12 07:29:03 -04:00
etc Follow up on 5736: fix authorities record.abs 2011-02-21 10:53:33 -05:00
install_misc Add .packages file for Ubuntu 10.10 2010-12-20 20:20:13 -05:00
installer Fixing license and copyright statement for updatedatabase.pl 2011-03-05 19:35:11 -05:00
koha-tmpl Bug 5820: Change language to 'Fund' over 'Budget' 2011-03-05 19:38:13 -05:00
labels Bug 5391 - can't add multiples to batch 2010-12-13 22:34:02 -05:00
members Bug 3319 Followup: Fix compatibility with fix for bug 4945 2011-03-04 19:03:32 -05:00
misc Bug 5831: rebuild_zebra.pl doesn't respect -r 2011-03-05 19:38:28 -05:00
offline_circ bug 2975: fix calculation of due dates by offline circ 2011-03-12 16:15:49 -05:00
opac Fix for Bug 5812 - Tag Cloud - capitalized words come before lower-case words 2011-02-28 09:55:25 -05:00
patroncards Bug 5183 Incorrect hash dereferencing syntax causes an error to be thrown when attempting to export patron cards 2010-09-10 18:28:54 -04:00
reports (bug #5157) fix borrowers top issues 2011-03-05 19:37:47 -05:00
reserve Fix for Bug 4853 - Rights needed to renew a document 2011-03-05 19:37:36 -05:00
reviews Modifying Members : Add Mod and GetMember 2009-09-30 11:29:23 +02:00
rotating_collections Bug 2505 - Add commented use warnings where missing in the rotating_collections/ directory 2010-04-21 20:25:39 +12:00
selenium Adding selenium tests for filterMembers 2009-09-30 11:30:37 +02:00
serials bug 4131 have subscription so edit routing if one exists 2011-01-11 18:33:26 -05:00
skel installer: fixed chown invocation; added skel for KOHA_LOG_DIR 2007-12-17 09:13:53 -06:00
sms Bug 2505 - Add commented use warnings where missing in the sms/ directory 2010-04-21 20:25:08 +12:00
suggestion Fix for 4832 - Re-editing a suggestion changes the item type 2010-12-11 21:22:18 -05:00
svc bug 4896: granular permissions now always on (DB rev 138) 2010-06-19 07:56:03 -04:00
t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 19:57:31 -05:00
tags Fix for Bug 2377 - Review tags: format date according to system preference 2010-10-06 09:31:56 -04:00
test bug 5309: tweak so that background progress doesn't exit immediately 2010-11-11 19:53:22 -05:00
tmp/modified_authorities changing DO_NOT_REMOVE to README.txt 2007-10-21 19:14:41 -05:00
tools Bug 5230: Call number ranges in export don't give expected results. 2011-02-13 21:40:13 -05:00
virtualshelves Merge remote branch 'kc/master' into new/bug_5105 2010-11-10 18:04:39 -05:00
xt Fixing a utf8 issue with the translator tests 2011-03-05 19:36:54 -05:00
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
INSTALL updated to installation instructions 2010-10-21 23:40:08 -04:00
INSTALL.debian updated to installation instructions 2010-10-21 23:40:08 -04:00
INSTALL.fedora7 fixing various links to point to *.koha-community.org 2010-10-21 22:08:24 -04:00
INSTALL.opensuse corrected links to mailing lists 2010-05-24 08:26:20 -04:00
INSTALL.ubuntu updated to installation instructions 2010-10-21 23:40:08 -04:00
INSTALL.ubuntu.lucid updated to installation instructions 2010-10-21 23:40:08 -04:00
LICENSE Update LICENSE with a fresh copy from upstream. This updates the FSF address, and refers to the LGPL with its current name, and changes a few other minor things of the typographical sort. No semantic changes. 2010-03-16 20:17:48 -04:00
MANIFEST.SKIP Bug Fixing : 3334 2009-06-19 06:33:34 -05:00
Makefile.PL bug 5033: Add a reference to xml_sax to the Makefile.PL 2010-12-14 21:44:58 -05:00
README updated links in README 2010-05-24 08:14:16 -04:00
README.robots Add instructions to INSTALL and README.robots about robots.txt 2010-02-20 17:55:59 -05:00
about.pl Enhancement Bug 4444: Centralize Code Handling Perl Dependencies 2010-05-17 09:01:51 -04:00
changelanguage.pl Bug 2617: Add strict (and warnings), partial fix. 2009-03-11 08:36:55 -05:00
edithelp.pl Fix FSF address in directory . 2010-03-16 20:17:52 -04:00
fix-perl-path.PL installer: improvements to fix-path-perl.PL on Win32 2007-12-20 19:20:12 -06:00
help.pl Fix FSF address in directory . 2010-03-16 20:17:52 -04:00
install-CPAN.pl Bug 5370: Fix all the references to koha.org 2010-11-07 16:20:45 -05:00
koha_perl_deps.pl Bug 4844 Remove a circular dependency in koha_perl_deps.pl 2010-06-03 19:59:10 -04:00
kohaversion.pl Updating Version Number to 3.02.05.001 2011-03-05 19:34:06 -05:00
mainpage.pl remove last vestiges of NOTMARC mode 2010-10-21 21:06:52 -04:00
rewrite-config.PL Bug 5370: Fix all the references to koha.org 2010-11-07 16:20:45 -05:00

README

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 2 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/