[Koha-bugs] [Bug 8418] Koha::Calendar is_holiday ignores all user data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 19 20:35:10 CEST 2012


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10840|0                           |1
        is obsolete|                            |

--- Comment #16 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 11025
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11025&action=edit
Bug 8418 - single_holidays DateTime::Set

We where cargo-culting code from C4::Calendar, but in the process
code executed same SQL query with isexceptional flag set each time.

This basically disabled all entries on calendar without it, which
is somewhat of a problem, since users currently can't add entry
which does have isexception bit set.

There is really no need for two separate DateTime::Set objects,
since code for them is same if we remove isexception from query.

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list