[Koha-bugs] [Bug 9362] Wrong query in GetUpcomingDueIssues (Circulation.pm)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 9 18:11:25 CEST 2013


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

--- Comment #6 from mathieu saby <mathieu.saby at univ-rennes2.fr> ---
I did the following test : 

- 1 book to check in 2 days
- 2 books to check in in the past

before applying the patch : 

$perl ../misc/cronjobs/advance_notices.pl -c -n -v -m=2
getting upcoming due issues at ../misc/cronjobs/advance_notices.pl line 203.
found 1 issues at ../misc/cronjobs/advance_notices.pl line 205.

I changed the value of "-m" : 0, 1, 2, 3, 4
=> always 1 issue found (the book to check in in 2 days)


after applying the patch

$perl ../misc/cronjobs/advance_notices.pl -c -n -v -m=2
found 0 issues
for m = 0, 1, 2 => 0 issues

$perl ../misc/cronjobs/advance_notices.pl -c -n -v -m=3
found 1 issues
for m = 3,4,5 => 1 issues (the book to check in in 2 days)


Do you consider it is the expected behavior?
If it is so, I can sign off.

Mathieu

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


More information about the Koha-bugs mailing list