[Koha-bugs] [Bug 13409] Add ability to purge old special holidays using cleanup_database.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 19 13:47:39 CEST 2015


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

--- Comment #4 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 43588
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43588&action=edit
Bug 13409 - Add ability to purge old special holidays using cleanup_database.pl
v2

We are having a massive amount of special holidays in the calendar and those
are cluttering the calendar views. A simple solution is to remove stale
special holidays from the koha.special_holidays-table.

Test Plan:
1) Create some special holidays in the past
2) Use the new --calendar DAYS option to test deleting special holidays
3) Verify only special holidays past the given amount of days were deleted

P.S. No test included! Do not push without proper integration tests,
     preferably with Cucumber + PageObject and some kind of a cronjob-runner.

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


More information about the Koha-bugs mailing list