[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
Sat Jul 14 12:12:23 CEST 2012


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

Dobrica Pavlinusic <dpavlin at rot13.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10774|0                           |1
        is obsolete|                            |
  Attachment #10838|0                           |1
        is obsolete|                            |

--- Comment #12 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
Created attachment 10840
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10840&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.

-- 
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