@@ -, +, @@ title formatting - Check publication date always displays (MARC21 and UNIMARC) - Check that for MARC21 the by has been removed from the title information - Check that for UNIMARC the by only displays when there is also an author to display --- .../prog/en/includes/catalogue/itemsearch_item.json.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc @@ -1,11 +1,12 @@ [%- USE Branches -%] +[%- USE Koha -%] [%- biblio = item.biblio -%] [%- biblioitem = item.biblioitem -%] [ "[% FILTER escape_quotes = replace('"', '\"') ~%] - [% biblio.title |html %] by [% biblio.author |html %] + [% biblio.title |html %][% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author |html %] [%~ END %]", - "[% biblioitem.publicationyear |html %]", + "[% (biblioitem.publicationyear || biblio.copyrightdate) |html %]", "[% biblioitem.publishercode |html %]", "[% biblioitem.collectiontitle |html %]", "[% FILTER escape_quotes ~%] --