[Koha-bugs] [Bug 31020] New: PassItemMarcToXSLT only applies on results pages
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 23 03:04:22 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31020
Bug ID: 31020
Summary: PassItemMarcToXSLT only applies on results pages
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: System Administration
Assignee: koha-bugs at lists.koha-community.org
Reporter: fridolin.somers at biblibre.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
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.
PS :
Maybe it will be good to have separate preferences for OPAC and staff
interface.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list