Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
Fridolin Somers f6dbad91c4
Bug 31020: Fix PassItemMarcToXSLT in system preferences description
Bug 28373 added system preference PassItemMarcToXSLT is referenced is all XSLT system preferences.
But it only applies on results pages.
The only use in perl code is in C4::Search :
 > $marcrecord->delete_fields( @fields ) unless C4::Context->preference('PassItemMarcToXSLT');

I've tested by adding in all XSLT files :
  <strong>ITEMS <xsl:value-of select="count(marc:datafield[@tag=952])"/> </strong>
Number of items only appears in OPAC and staff interface results pages.

In fact only search pages get MARC record from search engine, in which items datas have been embedded for indexing.
In other pages MARC record does not embed items datas.

This patch adds "MARC21 952, UNIMARC 995" to be explicit we talk about
MARC datas not item tags build in XML recieved by XSLT.

Test plan :
1) Apply patch
2) Search for PassItemMarcToXSLT in system preferencies
3) Look at description of PassItemMarcToXSLT
4) Check PassItemMarcToXSLT only apprears in OPACXSLTResultsDisplay and XSLTResultsDisplay

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-20 09:55:33 -03:00
..
accounting.pref Bug 31036: (QA follow-up) Add a warning to the system preference 2022-07-18 10:28:00 -03:00
acquisitions.pref Bug 30135: (follow-up) Rephrase system preference description to use collection 2022-04-13 15:55:39 +02:00
admin.pref Bug 27519: Normalize Show/Don't show in system preferences 2022-06-08 11:45:25 -03:00
authorities.pref Bug 27519: Normalize Show/Don't show in system preferences 2022-06-08 11:45:25 -03:00
cataloguing.pref Bug 28854: (follow-up) Move preferences to "Item bundles" 2022-07-13 10:35:55 -03:00
circulation.pref Bug 28854: (follow-up) Move preferences to "Item bundles" 2022-07-13 10:35:55 -03:00
enhanced_content.pref Bug 27519: Normalize Show/Don't show in system preferences 2022-06-08 11:45:25 -03:00
i18n_l10n.pref Bug 28598: Update DateFormat and TimeFormat descriptions to remove warnings 2021-06-22 12:06:29 +02:00
local_use.pref
logs.pref Bug 19532: (follow-up) Fix calls, tests, syspref settings, checks 2022-03-14 22:45:51 -10:00
opac.pref Bug 31020: Fix PassItemMarcToXSLT in system preferences description 2022-07-20 09:55:33 -03:00
patrons.pref Bug 30933: Adjust pref description, include ListOwnerDesignated 2022-07-20 09:04:06 -03:00
searching.pref Bug 31020: Fix PassItemMarcToXSLT in system preferences description 2022-07-20 09:55:33 -03:00
serials.pref Bug 22824: Fix yes/no vs 1/0 2021-03-04 16:18:42 +01:00
staff_interface.pref Bug 31020: Fix PassItemMarcToXSLT in system preferences description 2022-07-20 09:55:33 -03:00
tools.pref Bug 29648: (QA follow-up) Remove NumSavedReports from .pref file 2022-04-27 11:20:45 -10:00
web_services.pref Bug 30923: Remove EXPERIMENTAL mark on RESTOAuth2ClientCredentials 2022-06-08 11:06:03 -03:00