]> git.koha-community.org Git - koha.git/commit
Bug 17009: Speed up the framework duplication
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 1 Aug 2016 12:46:49 +0000 (13:46 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 24 Aug 2016 10:43:38 +0000 (12:43 +0200)
commit0de09d5ae77885a822b244efb15c5de45cbc8283
tree2399c13956b53e2117423a88230e9c3be5160a6c
parent767a393aa48870351bff3431cae8e5f03335bbf2
Bug 17009: Speed up the framework duplication

To duplicate frameworks, the code retrieve all the subfields, then
execute 1 insert per subfield.
It's unnecessary slow, we can use the DBMS to do it.

Test plan:
Create a new framework and duplicate the structure of another framework.

Signed-off-by: Marc <veron@veron.ch>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 739eaa82e8b52a1ef83e995badc7ddfa3a32e3fc)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 6551bebd939aefb3a4e6c59d3bee83c311cd842d)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
admin/marctagstructure.pl