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@lists.koha-community.org Reporter: fridolin.somers@biblibre.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@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.