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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to