]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 18 Aug 2016 16:01:53 +0000 (16:01 +0000)
commit739eaa82e8b52a1ef83e995badc7ddfa3a32e3fc
tree6b1a0589def25c5c61b2c5bb56f23d971685c1e6
parentfb449aaede3f23ee71e9e50286a26035bb3ef640
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>
admin/marctagstructure.pl