Koha-clms/installer/data/mysql
Jonathan Druart 5b78de6cef
Bug 24741: (bug 21674 follow-up) Fix destructive update DB 19.12.00.017
Previous version of the SQL query did not deal correctly with subgroup.

Test plan:
checkout the following commit to be just before 017
  commit 715da06db5
  Bug 22868: DBRev 19.12.00.016
reset_all # recreate the DB
Create a complex tree of library groups, with several groups, subgroups,
etc.
When you add a new library, refresh the page to add it several time.
When ready, git checkout master, restart all the things, execute the
updatedatabase script, then go to the library groups page.
You should see that the duplicated entries have been removed, but
subgroups have not been deleted

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Tested with duplicated entries on groups and subgroups,
going back to the right commit and doing clean install.
Patch works, subgroups are preserved. No errors.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-04 14:44:10 +00:00
..
atomicupdate Bug 23355: DBRev 19.12.00.033 2020-03-03 15:03:02 +00:00
de-DE Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
en Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
es-ES Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
fr-CA Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
fr-FR Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
it-IT Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
mandatory Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
nb-NO Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
pl-PL Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
ru-RU Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
uk-UA Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
account_credit_types.sql Bug 24592: Database Update 2020-02-13 15:58:14 +00:00
account_debit_types.sql Bug 23354: (follow-up) Make display of debit types configurable 2020-01-13 14:05:14 +00:00
account_offset_types.sql Bug 24592: Database Update 2020-02-13 15:58:14 +00:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 13795: Remove occurences of unused columns in code 2019-04-18 10:05:51 +00:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17135: [QA Follow-up] Changes as to reporting 2016-09-16 10:47:03 +00:00
kohastructure.sql Bug 23355: (RM follow-up) Add DROP statement for cash_register_actions 2020-03-03 16:09:55 +00: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 24735: Remove QueryParser-related code 2020-03-02 11:13:03 +00:00
update22to30.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
updatedatabase.pl Bug 24741: (bug 21674 follow-up) Fix destructive update DB 19.12.00.017 2020-03-04 14:44:10 +00:00
userflags.sql Bug 22868: Move suggestions_manage subperm out of acquisition perm 2020-01-30 08:27:00 +00:00
userpermissions.sql Bug 23355: Add cashup permissions 2020-03-03 15:03:01 +00:00