]> git.koha-community.org Git - koha.git/commit
Bug 14572 - insert_single_holiday() forces a value on an AUTO_INCREMENT column, durin...
authorRodrigo Santellan <rsantellan@gmail.com>
Wed, 21 Jun 2017 18:40:43 +0000 (15:40 -0300)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 16 Jul 2017 11:48:51 +0000 (13:48 +0200)
commit3775ba1c4422fe30799da6e85b9ac7a195804527
treecdfb1ddaf0cc247483f53d1b78c264a2f5cd8f74
parentaefdb757bf13192f9de898ff77e208f319672ee9
Bug 14572 - insert_single_holiday() forces a value on an AUTO_INCREMENT column, during an INSERT

Removing all the id from the columns on the inserts and removing the
parameter '' of the values for the id.

Test plan:
1) Go to tools -> calendar
2) Add a Holiday only on this day.
3) Add a Holiday repeated every same day of the week.
4) Add a Holiday repeated yearly on the same date.
5) Add a Holidays on a range.
6) Add a Holidays repeated yearly on a range.
7) You should have the five calendars displayed.

Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit b94b16f67963b03fd17170d2c2f2efa581c12c0f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 9efe6332901e081cb7f7fc0a510449b697da4ce4)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
C4/Calendar.pm