Bug 18520

Summary: special_holidays should be unique by date and branch code
Product: Koha Reporter: Barton Chittenden <barton>
Component: HolidaysAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: katrin.fischer
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Barton Chittenden 2017-05-01 17:01:56 UTC
I just found a library that had up to 7 entries in the special_holidays table for a given combination of branchcode and year, month, day.

This doesn't make sense, it's not fixable in the UI, and it can cause performance issues, because all values will be checked.
Comment 1 Katrin Fischer 2020-01-11 22:21:01 UTC

*** This bug has been marked as a duplicate of bug 18874 ***