]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 12 Jul 2017 09:21:58 +0000 (11:21 +0200)
commit9efe6332901e081cb7f7fc0a510449b697da4ce4
tree58ff666344dc79364707822d3b59b53319ca1301
parent459c144f2a54f4b1ddeb9e7595030107e821d2b2
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>
C4/Calendar.pm