From andrea.furin@slacky.it Mon Nov 18 15:55:46 2013 From: Andrea Furin To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] Z39.50 search results: DATE blank - add PUBLISHER Date: Mon, 18 Nov 2013 15:57:19 +0100 Message-ID: <528A2ACF.4050000@slacky.it> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6092621696029345955==" --===============6092621696029345955== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 1. If you have the field DATE blank when you make a Z39.50 search you have to modify the file: /usr/share/koha/lib/C4/Breeding.pm at line 394: $row_data{date} =3D $oldbiblio->{copyrightdate}; in $row_data{date} =3D $oldbiblio->{publicationyear}; (Make a copy of your modification becaurse probably ad update will change that file). 2. If you want to see the publisher's name in Z39.50 results you have to add a line in: /usr/share/koha/lib/C4/Breeding.pm at line 394: $row_data{server} =3D $servername[$k]; $row_data{isbn} =3D $oldbiblio->{isbn}; $row_data{lccn} =3D $oldbiblio->{lccn}; $row_data{title} =3D $oldbiblio->{title}; $row_data{author} =3D $oldbiblio->{author}; $row_data{date} =3D $oldbiblio->{publicationyear}; **** $row_data{publisher} =3D $oldbiblio->{publishercode}; $row_data{edition} =3D $oldbiblio->{editionstatement}; and in: /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/cataloguing/z39= 50_search.tt (change ../prog/LANGUAGE/modules/.. if not english) at line 155 the search results mask: Server Title Author Date **** Publisher Edition ISBN LCCN [Below the correspondet modified lines:] [% breeding_loo.server %]
[% breeding_loo.title |html %] [% breeding_loo.author %] [% breeding_loo.date %] **** [% breeding_loo.publisher %] [% breeding_loo.edition %] [% breeding_loo.isbn %] [% breeding_loo.lccn %] --===============6092621696029345955==--