http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13170

--- Comment #5 from Chris Cormack <[email protected]> ---
Comment on attachment 33129
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33129
Bug 13170 Remove of prog theme broke the OPAC's "view plain" option for MARC
details

Review of attachment 33129:
 --> 
(http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=13170&attachment=33129)
-----------------------------------------------------------------

::: opac/opac-showmarc.pl
@@ +57,5 @@
> +        C4::Context->config('opachtdocs'),
> +        C4::Context->preference('opacthemes'),
> +        C4::Languages::getlanguage($input),
> +        $view eq 'card' ? 'compact.xsl' : 'plainMARC.xsl'
> +    );

Why are we doing this? Instead of using C4::Template::themelanguage ?

Now we still have different behaviour for xslt and for normal templates

themelanguage will never fallback to prog for the opac. however
_get_best_defautl_xslt_filename will.

So if have a new theme chrisc theme. And I make all the stuff, but no new xslt
file. It will now fall back to prog, instead of bootstrap.

This is a problem as prog no longer exists in the OPAC.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to