]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 23 Aug 2016 10:47:00 +0000 (12:47 +0200)
commit6551bebd939aefb3a4e6c59d3bee83c311cd842d
treef0344b39f79f5681b647396fd20f5e5b3637f75a
parent700c602634390f34a3fac86c158d95b30bc03963
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>
admin/marctagstructure.pl