]> 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)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Jul 2017 13:02:08 +0000 (01:02 +1200)
commitc2a8bce516b2c0d395f7336ba88631e31798e11b
treea638cab5b36bca666f98f2cd11fb6be23bcc54ea
parentb0d85c2df0a88053cc8f9e5472efebc12ae1bffc
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