[Bug 4311] New: OPACXSLTResultsDisplay preference does not work
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@myacpl.org ReportedBy: oleonard@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.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4311 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nengard@gmail.com -- 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.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com