Koha/installer/data/mysql
Andrew Fuerste-Henry ec1bfd2b74
Bug 23081: set default to 0 for items.issues and deleteditems.issues
To test:
- save and run this sql query in reports: select sum(if(issues is null,1,0)),sum(if(issues=0,1,0)) from items
- you should see a lot of nulls and no zeros
- apply patch
- updatedatabase
- re-run your query and see that your nulls have changed to zeros
- create a new item
- rerun your query and see your new item is counted in the zeros, not the nulls

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-27 11:32:37 +01:00
..
atomicupdate Bug 25045: DBRev 19.12.00.079 2020-04-27 11:17:33 +01:00
de-DE Bug 4461: (follow-up) Creating sample notice and other fixes 2020-04-06 11:16:38 +01:00
en Bug 4461: (follow-up) Creating sample notice and other fixes 2020-04-06 11:16:38 +01:00
fr-CA Bug 4461: (follow-up) Creating sample notice and other fixes 2020-04-06 11:16:38 +01:00
fr-FR Bug 22887: Remove dup in fr-FR av.sql 2020-04-14 17:24:42 +01:00
it-IT Bug 4461: (follow-up) Creating sample notice and other fixes 2020-04-06 11:16:38 +01:00
mandatory
nb-NO Bug 4461: (follow-up) Creating sample notice and other fixes 2020-04-06 11:16:38 +01:00
pl-PL Bug 4461: (follow-up) Creating sample notice and other fixes 2020-04-06 11:16:38 +01:00
ru-RU Bug 4461: (follow-up) Creating sample notice and other fixes 2020-04-06 11:16:38 +01:00
uk-UA Bug 4461: (follow-up) Creating sample notice and other fixes 2020-04-06 11:16:38 +01:00
account_credit_types.sql Bug 24081: Add credit_types, offset_types and permissions 2020-03-04 14:46:13 +00:00
account_debit_types.sql Bug 25010: Fix typo 'rewewal' in debit types 2020-04-03 14:26:35 +01:00
account_offset_types.sql Bug 24081: (QA follow-up) Fix small typo 2020-03-04 14:46:25 +00:00
audio_alerts.sql
backfill_statistics.pl
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 24840: Replace DateTime->now with dt_from_string 2020-04-08 11:54:23 +01:00
kohastructure.sql Bug 23081: set default to 0 for items.issues and deleteditems.issues 2020-04-27 11:32:37 +01:00
labels_upgrade.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
patroncards_upgrade.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
sysprefs.sql Bug 25045: Add the RESTPublicAnonymousRequests syspref 2020-04-27 11:15:21 +01:00
update22to30.pl
updatedatabase.pl Bug 25045: DBRev 19.12.00.079 2020-04-27 11:17:33 +01:00
userflags.sql Bug 4461: Adding user flags for managing OPAC problem reports 2020-04-06 11:18:13 +01:00
userpermissions.sql Bug 4461: Adding user flags for managing OPAC problem reports 2020-04-06 11:18:13 +01:00