Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 31144: When modifying an order we should not load the vendor default discount 2022-07-18 14:47:26 -03:00
admin Bug 31020: Fix PassItemMarcToXSLT in system preferences description 2022-07-20 09:55:33 -03:00
authorities
basket
batch
catalogue Bug 27546: (follow-up) Avoid index clash 2022-07-20 09:23:26 -03:00
cataloguing Bug 24857: Add ability to set item group when adding a new item 2022-07-08 16:00:07 -03:00
circ Bug 30578: Remove circ/ysearch.pl in favor of the /patrons REST API route 2022-07-18 11:01:34 -03:00
clubs
course_reserves Bug 30578: Remove circ/ysearch.pl in favor of the /patrons REST API route 2022-07-18 11:01:34 -03:00
errors
ill
installer
labels Bug 30763: fixes spelling of 'proceeds' 2022-07-08 15:20:25 -03:00
mana
members Bug 31153: Correct include for patron-search-header 2022-07-18 11:20:06 -03:00
offline_circ
onboarding
patron_lists
patroncards
plugins
pos Bug 31163: Sort cashups newest to oldest 2022-07-18 15:10:43 -03:00
recalls
reports Bug 26486: Group edit buttons in reports toolbar 2022-06-27 12:32:24 -03:00
reserve Bug 30578: Remove circ/ysearch.pl in favor of the /patrons REST API route 2022-07-18 11:01:34 -03:00
reviews
rotating_collections
serials Bug 24010: Number of issues to display to staff accepts non-integer values 2022-07-05 10:57:16 -03:00
services
suggestion Bug 23991: Don't display empty div if no suggestions exist 2022-07-06 11:20:45 -03:00
tags
test
tools Bug 31068: Context for translation: Print (verb) vs. Print (noun) 2022-07-18 14:46:37 -03:00
virtualshelves Bug 25498: (follow-up) Change for autocomplete change of 30578 2022-07-19 11:25:26 -03:00
about.tt Bug 27667: (QA follow-up) Fix singular index and rephrase heading 2022-07-18 14:53:15 -03:00
auth.tt
intranet-main.tt Bug 31067: Fixing missing permission check 2022-07-06 18:36:50 -03:00