[Koha-bugs] [Bug 13170] Remove of prog theme broke the OPAC's "view plain" option for MARC details
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 3 23:08:25 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13170
--- Comment #5 from Chris Cormack <chris at bigballofwax.co.nz> ---
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.
More information about the Koha-bugs
mailing list