https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18064

Andrew Fuerste-Henry <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #42 from Andrew Fuerste-Henry <[email protected]> ---
This is not correctly matching checkouts and holidays.
I have:
- 2 patrons, both with branch=CPL
- 2 items, one owned by CPL, one by MPL
- both items checked out at CPL, one to either patron
- CircControl set to "library the item is from," HomeOrHoldingBranch set to
"item's home libary"

With LongOverdueNoticeCalendar = "ignore"
- perl misc/cronjobs/longoverdue.pl -v finds 2 checkouts
- perl misc/cronjobs/longoverdue.pl -v -library='CPL' finds 1 checkout
- perl misc/cronjobs/longoverdue.pl -v -library='MPL' finds 1 checkout
- perl misc/cronjobs/longoverdue.pl -v -library='UPL' finds 0 checkouts

But if I set LongOverdueNoticeCalendar = "use" then 'perl
misc/cronjobs/longoverdue.pl -v' gives me the following:

### TEST MODE -- NO ACTIONS TAKEN ###

Branchcode CPL
Due   1 - 366 days ago (2024-01-22 to 2025-01-21) - with 0 holiday(s), lost =>
2

Branchcode FFL
Due   1 - 366 days ago (2024-01-22 to 2025-01-21) - with 0 holiday(s), lost =>
2

Branchcode FPL
Due   1 - 366 days ago (2024-01-22 to 2025-01-21) - with 0 holiday(s), lost =>
2

Branchcode FRL
Due   1 - 366 days ago (2024-01-22 to 2025-01-21) - with 0 holiday(s), lost =>
2

Branchcode IPT
Due   1 - 366 days ago (2024-01-22 to 2025-01-21) - with 0 holiday(s), lost =>
2

Branchcode LPL
Due   1 - 366 days ago (2024-01-22 to 2025-01-21) - with 0 holiday(s), lost =>
2

Branchcode MPL
Due   1 - 420 days ago (2023-11-29 to 2025-01-21) - with 54 holiday(s), lost =>
2

Branchcode PVL
Due   1 - 366 days ago (2024-01-22 to 2025-01-21) - with 0 holiday(s), lost =>
2

Branchcode RPL
Due   1 - 366 days ago (2024-01-22 to 2025-01-21) - with 0 holiday(s), lost =>
2

Branchcode SPL
Due   1 - 366 days ago (2024-01-22 to 2025-01-21) - with 0 holiday(s), lost =>
2

Branchcode TPL
Due   1 - 366 days ago (2024-01-22 to 2025-01-21) - with 0 holiday(s), lost =>
2

Branchcode UPL
Due   1 - 367 days ago (2024-01-21 to 2025-01-21) - with 1 holiday(s), lost =>
2
Due 2025-01-20 23:59:00: item   505 from borrower    19 to lost: 2
Due 2025-01-20 23:59:00: item   506 from borrower     5 to lost: 2

### LONGOVERDUE SUMMARY ###
Range 1
Due   1 - 366 days ago (2024-01-22 to 2025-01-21), lost => 2
     2 items

TOTAL: 2 items

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to