[Koha-bugs] [Bug 4311] New: OPACXSLTResultsDisplay preference does not work

bugzilla-daemon at kohaorg.ec2.liblime.com bugzilla-daemon at kohaorg.ec2.liblime.com
Tue Mar 9 15:44:17 CET 2010


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4311

           Summary: OPACXSLTResultsDisplay  preference does not work
           Product: Koha
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: OPAC
        AssignedTo: oleonard at myacpl.org
        ReportedBy: oleonard at myacpl.org
   Estimated Hours: 0.0
 Change sponsored?: ---


Created an attachment (id=1736)
 --> (http://bugs.koha.org/cgi-bin/bugzilla3/attachment.cgi?id=1736)
Screenshot of the problem

If you have OPACXSLTResultsDisplay turned ON and XSLTResultsDisplay turned OFF
you will see results like in the attached screenshot.

With OPACXSLTResultsDisplay OFF and XSLTResultsDisplay ON you will see XSLT
results in the OPAC.

In Search.pm:

        # XSLT processing of some stuff
        use C4::Charset;
        SetUTF8Flag($marcrecord);
        $debug && warn $marcrecord->as_formatted;
        if (C4::Context->preference("XSLTResultsDisplay") && !$scan) {
            $oldbiblio->{XSLTResultsRecord} = XSLTParse4Display(
                $oldbiblio->{biblionumber}, $marcrecord, 'Results' );
        }

Since there is not XSLT version of the results page in the staff client, a
simple fix would be to change this preference check to one for
OPACXSLTResultsDisplay.


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list