http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15527
--- Comment #15 from Frédéric Demians <frede...@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. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/