]> git.koha-community.org Git - koha.git/commit
Bug 28373: Add PassItemMarcToXSLT system preference
authorNick Clemens <nick@bywatersolutions.com>
Tue, 18 May 2021 15:06:43 +0000 (15:06 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 31 Aug 2021 06:49:04 +0000 (08:49 +0200)
commitfc20c964b03538370570c1dcc30dbf0e4580cb5d
tree0c934f5e14216ccd44af9ee1d636fbc0eec5da53
parent1648c52c92e6bd0e04be63820b997701a4bc0673
Bug 28373: Add PassItemMarcToXSLT system preference

Default stylesheets do not reference item fields for XSLT display, however, we
spend time translating the values in the item fields.

This patch adds a system preference, PassItemMarcToXSLT. and unless enabled we remove
item fields before processing

To test:
1 - Perform some search on the staff client and opac
2 - Use the console (F12) to view the time spent on the network tab
3 - Note performance
4 - Apply patch, updatedatabase, restart_all
5 - Repeat searches
6 - Note that display has not changed
7 - Note performance, results should display slightly faster

Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Search.pm
installer/data/mysql/atomicupdate/bug28373_add_PassItemMarcToXSLT_preference.perl [new file with mode: 0644]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref