Bug 32060: Improve performance of columns_to_str
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Tue, 1 Nov 2022 14:30:01 +0000 (15:30 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 9 Jun 2023 15:04:57 +0000 (12:04 -0300)
commit850f6f403ba07d6c963a11f52d774b7a94df4802
tree831df33481021b7e3275635e2473ebe45cc5a1a3
parent915cf57510b4fcedcb6d328703c53a2701b1adc1
Bug 32060: Improve performance of columns_to_str

To test:
1) Ensure the following tests pass
  t/db_dependent/Koha/Item.t
  t/db_dependent/Koha/Bibio.t
2) Go to a biblio (preferably as serial) with many items and
   click "New" -> "New item" and note down the response time.
3) Apply the patch
4) Ensure tests in 1) still pass
5) Repeat step 2), the response time should be substantially
   improved

Sponsored-by: Gothenburg University Library
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Biblio.pm
Koha/Item.pm
t/db_dependent/Biblio.t