Main Koha release repository https://koha-community.org
Find a file
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
acqui Bug 21746: Remove NO_LIBRARY_SET 2020-03-02 10:20:42 +00:00
admin Bug 21746: Remove NO_LIBRARY_SET 2020-03-02 10:20:42 +00:00
api/v1 Bug 24502: (follow-up) Add all 3 query parameters in api definition 2020-03-03 09:17:04 +00:00
authorities Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
basket
C4 Bug 24735: Remove QueryParser-related code 2020-03-02 11:13:03 +00:00
catalogue Bug 21746: Remove NO_LIBRARY_SET 2020-03-02 10:20:42 +00:00
cataloguing Bug 24735: Remove QueryParser-related code 2020-03-02 11:13:03 +00:00
circ Bug 21746: Remove NO_LIBRARY_SET 2020-03-02 10:20:42 +00:00
clubs Bug 23084: Replace grep {^$var$} with grep {$_ eq $var} 2020-02-17 10:44:45 +00:00
course_reserves
debian Bug 23975: (QA follow-up) Add another plugin source 2020-03-03 09:22:39 +00:00
docs
errors Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
etc Bug 23975: (QA follow-up) Add another plugin source 2020-03-03 09:22:39 +00:00
ill Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
installer Bug 24741: (bug 21674 follow-up) Fix destructive update DB 19.12.00.017 2020-03-04 14:44:10 +00:00
Koha Bug 23355: (RM follow-up) Remove reintroduced relationship 2020-03-03 16:27:36 +00:00
koha-tmpl Bug 23355: (RM follow-up) Tidy Template 2020-03-04 09:04:57 +00:00
labels Bug 24735: Remove QueryParser-related code 2020-03-02 11:13:03 +00:00
members Bug 21879: Code cleaning in printinvoice.pl 2020-02-26 20:42:56 +00:00
misc Bug 24735: Remove QueryParser-related code 2020-03-02 11:13:03 +00:00
offline_circ Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
opac Bug 24545: Fix newly added files 2020-02-24 13:31:27 +00:00
patron_lists
patroncards Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
plugins Bug 23975: (follow-up) Don't rely on save_to being present 2020-03-03 09:19:04 +00:00
pos Bug 23355: Rename staff_id for manager_id 2020-03-03 15:03:02 +00:00
reports Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
reserve Bug 14711: Change prototype for AddReserve - pass a hashref 2020-02-11 14:32:47 +00:00
reviews
rotating_collections
serials Bug 24735: Remove QueryParser-related code 2020-03-02 11:13:03 +00:00
services
skel
suggestion Bug 23594: Restore previous view after delete or update itemtype 2020-01-30 10:56:57 +00:00
svc Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
t Bug 23355: Rename staff_id for manager_id 2020-03-03 15:03:02 +00:00
tags
tmp/modified_authorities
tools Bug 21746: Remove NO_LIBRARY_SET 2020-03-02 10:20:42 +00:00
virtualshelves Bug 23084: Replace grep {^$var$} with grep {$_ eq $var} 2020-02-17 10:44:45 +00:00
xt Bug 24545: Fix newly added files 2020-02-24 13:31:27 +00:00
.editorconfig
.eslintrc.json
.gitignore
.htaccess
.mailmap
.scss-lint.yml
about.pl Bug 24735: Remove QueryParser-related code 2020-03-02 11:13:03 +00:00
changelanguage.pl
cpanfile Bug 24693: Move GD from recommends to requires in cpanfile 2020-02-24 13:18:08 +00:00
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 23355: DBRev 19.12.00.033 2020-03-03 15:03:02 +00:00
koha_perl_deps.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL Bug 19735: Move Perl deps definitions into a cpanfile 2020-02-12 16:33:02 +00:00
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo