https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17015
Shi Yao Wang <shi-yao.w...@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #133604|0 |1 is obsolete| | --- Comment #293 from Shi Yao Wang <shi-yao.w...@inlibro.com> --- Created attachment 137227 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137227&action=edit Bug 17015: DiscreteCalendar->new() method is now in a HASH This patch adds missing curly brackets in all new() calls. All tests in t/ should pass too (The one that don't pass are not passing before the patch) TEST PLAN: 1- Apply the patch 2- Run installer/data/mysql/updatedatabase.pl 3- Run misc/cronjobs/add_days_discrete_calendar.pl 4- Check that the max date is today + 1 day 5- Attempt a checkout ~ The error "Can't use string ("branchcode") as a HASH ref while "strict refs" in use at /kohadevbox/koha/Koha/DiscreteCalendar.pm line 79" is no longer here 5- Run t/db_dependent/DiscreteCalendar.t (prove -l t/db_dependent/DiscreteCalendar.t) 6- Run all koha test in t/ (prove t). All tests should pass 7- Use Discrete Calendar in Tools->Calendar USING THE DISCRETE CALENDAR: 1- New UI a) Calendar on the left b) Holidays list on the right 2- New color system for holiday types: a) Working day : white b) Unique holiday: red c) Holiday repeating weekly: yellow d) Holiday repeating yearly: orange e) Floating holiday: green f) Need validation: blue 3- When clicking on a date in the calendar, opening, closing hours and holiday type are displayed. 4- All the fields are editable 5- New radio button to Edit selected dates or Copy to different dates 6- Option to copy the calendar to another branch -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/