[Koha-bugs] [Bug 15527] OAI-PMH should have a stylesheet to aid usability
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 11 12:25:05 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15527
--- Comment #15 from Frédéric Demians <frederic at tamil.fr> ---
(In reply to Jonathan Druart from comment #14)
> Comment on attachment 46464 [details] [review]
> [SIGNED-OFF]Bug 15527: Custom stylesheet in extended mode
>
> Review of attachment 46464 [details] [review]:
> -----------------------------------------------------------------
>
> ::: Koha/OAI/Server/Repository.pm
> @@ +111,5 @@
> >
> > # Load configuration file if defined in OAI-PMH:ConfFile syspref
> > + my $conf = C4::Context->preference("OAI-PMH:ConfFile");
> > + if ( $conf ) {
> > + $self->{ conf } = $conf = LoadFile( $conf );
>
> What's the point of this change? I personally prefer the previous version.
The $conf variable is used above (line 148) in order to get the new extended
'xslt' parameter:
148 $response->xslt(
149 $conf && $conf->{xslt}
150 ? $conf->{xslt}
151 : "/opac-tmpl/bootstrap/css/OAI.xslt"
152 );
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list