[Koha-devel] Koha::Calendar broken since C4::Calendar split

Dobrica Pavlinusic dpavlin at rot13.org
Fri Jul 13 11:11:48 CEST 2012


With end of academic year near, I was forced to take a look why our
due-dates aren't calculated correctly. Result is

Bug 8418 - Koha::Calendar is_holiday ignores all user data
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8418

This is pure bug-fix patches to Koha::Calendar to restore functionality
which used to work in C4::Calendar.

I'm aware there are quite a few patches which touch this code, but some
of them are wrong and others are stuck in sign-off because they also
modify another parts of Koha.

This is my attempt to provide simple bug fix only which should also be
applicable for stable Koha versions. It makes useDaysMode work and remove
one redundant SQL query so I hope that you will forgive me for making
duplicate changes in separate bug. At least, I tried to block all bugs
which also provide same fixes, but unblocking them is just removing
relevant patches from them, making other bugs just functionality change.

-- 
Dobrica Pavlinusic               2share!2flame            dpavlin at rot13.org
Unix addict. Internet consultant.             http://www.rot13.org/~dpavlin


More information about the Koha-devel mailing list