@@ -, +, @@
OPAC without XSLT
- Set XSLT off for OPAC results and detail
- Check you have a mapping for "subtitle" in "Keyword to MARC mapping" : for example 200$e in UNIMARC
- Select a biblio that have a subtitle
- At OPAC, perform a search that will contain this biblio
- At OPAC, look at this biblio detail page
---
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 2 +-
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
+++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
@@ -538,7 +538,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
[% IF ( OPACXSLTDetailsDisplay ) %]
[% XSLTBloc %]
[% ELSE %]
-
[% title |html %][% IF ( subtitle ) %] [% FOREACH subtitl IN subtitle %][% subtitl.subfield |html %] [% END %][% END %]
+ [% title |html %][% IF ( subtitle ) %] : [% FOREACH subtitl IN subtitle %][% subtitl.subfield |html %] [% END %][% END %]
[% IF ( author ) %][% END %]
[% UNLESS ( item_level_itypes ) %]
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt
+++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt
@@ -510,7 +510,7 @@ $(document).ready(function(){
[% ELSE %]
[% END %]
[% END %]
- [% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield|html %][% END %]
+ [% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %] : [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield|html %][% END %]
[% IF ( SEARCH_RESULT.author ) %]by [% SEARCH_RESULT.author %]
[% ELSE %]
[% END %]
--