Main Koha release repository https://koha-community.org
Find a file
Rafal Kopaczka 4114495d05 Bug 13035: Overdue notices send notices for due date in future.
Overdue notices, script uses method days_between which returns always
positive value of days, no mater if due_date is higher or lower from
date_to_run. This causes overdue notices to be send for real overdue and
for checkouts with due date in future, which have same days_between as
in notice triggers.

To reproduce:
1. Set up overdue notice triggers for eg. 2 day.
2. Checkout items for 2 borrowers first gets item with due date 2 days
in past and second gets 2 days in future.
3. run ./misc/cronjobs/overdue_notices.pl -n -t
4. watch that notices was generated for both of them.

To test:
1. Repeat steps 1,2
2. Apply patch
3. run ./misc/cronjobs/overdue_notices.pl -n -t
4. should be 1 notice for borrower with overdue item.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes tests and QA script, just adds an additional test.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-10-19 11:37:44 -03:00
acqui Bug 12827: NewOrder should not return basketno 2014-09-17 21:22:26 -03:00
admin Bug 12957: Get rid of warnings in aqbudgets.pl 2014-10-15 12:45:58 -03:00
authorities
basket
C4 Bug 12424 - ddc sorting of call numbers truncates long Cutter parts 2014-10-18 10:50:07 -03:00
catalogue
cataloguing
circ
course_reserves
debian Bug 11232: (qa followup) Add missing fields/subfields to the item types faceta 2014-10-15 12:55:47 -03:00
docs Bug 7143 Adding a new developer to the history 2014-10-11 16:23:08 -03:00
errors
etc BUG8446, Follow up: Improve local login fallback 2014-10-16 12:27:51 -03:00
install_misc
installer Bug 13027: Typo RoutlingListNote 2014-10-18 11:05:31 -03:00
Koha Bug 12801: Use the branchcode to cache holidays 2014-10-18 10:25:03 -03:00
koha-tmpl Bug 13020 - Checkouts table default ordering is incorrect 2014-10-19 11:30:58 -03:00
labels
members
misc Bug 13035: Overdue notices send notices for due date in future. 2014-10-19 11:37:44 -03:00
offline_circ
opac BUG8446, Follow up: Improve local login fallback 2014-10-16 12:27:51 -03:00
OpenILS
patron_lists
patroncards
plugins
reports Bug 11672: Untranslatable dropdown on Guided Reports and dictionary 2014-09-23 15:32:21 -03:00
reserve
reviews
rotating_collections
selenium
serials
services
skel
sms
suggestion
svc Bug 13020 - Checkouts table default ordering is incorrect 2014-10-19 11:30:58 -03:00
t Bug 12801 - Unit Test 2014-10-18 10:24:56 -03:00
tags
test
tmp/modified_authorities
tools Bug 12929 [QA Followup] - Hide borrownumber from sample csv file 2014-10-14 11:25:31 -03:00
virtualshelves
xt
.editorconfig
.htaccess
.mailmap
about.pl
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7
INSTALL.opensuse
INSTALL.ubuntu
koha_perl_deps.pl
kohaversion.pl Bug 12424: DBRev 3.17.00.029 2014-10-18 10:55:25 -03:00
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
README
README.robots
rewrite-config.PL

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 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/