From andrea.furin@slacky.it Mon Nov 18 15:55:45 2013 From: Andrea Furin To: koha-devel@lists.koha-community.org Subject: [Koha-devel] 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="===============9075792076679993459==" --===============9075792076679993459== 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 %] --===============9075792076679993459==-- From liz@catalyst.net.nz Tue Nov 19 00:57:15 2013 From: Liz Rea To: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Z39.50 search results: DATE blank - add PUBLISHER Date: Tue, 19 Nov 2013 12:56:23 +1300 Message-ID: <528AA927.6070008@catalyst.net.nz> In-Reply-To: <528A2ACF.4050000@slacky.it> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7732043002169048392==" --===============7732043002169048392== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Andrea, Thanks for your work on this. Do you think this is something that should be put into Koha for all users? If so, you might consider filing a bug at http://bugs.koha-community.org with this information. Cheers, Liz Rea On 19/11/13 03:57, Andrea Furin wrote: > 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/z= 3950_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 %]
href=3D"/cgi-bin/koha/catalogue/showmarc.pl?importid=3D[% breeding_loo.bree$ > [% breeding_loo.title |html %] > [% breeding_loo.author %] > [% breeding_loo.date %] > **** [% breeding_loo.publisher %] > [% breeding_loo.edition %] > [% breeding_loo.isbn %] > [% breeding_loo.lccn %] > _______________________________________________ > Koha-devel mailing list > Koha-devel@lists.koha-community.org > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel > website : http://www.koha-community.org/ > git : http://git.koha-community.org/ > bugs : http://bugs.koha-community.org/ --===============7732043002169048392== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEuNC4xMSAoR05V L0xpbnV4KQpDb21tZW50OiBVc2luZyBHbnVQRyB3aXRoIFRodW5kZXJiaXJkIC0gaHR0cDovL3d3 dy5lbmlnbWFpbC5uZXQvCgppUUVjQkFFQkFnQUdCUUpTaXFrbkFBb0pFTGJDcEowM0pqaTNUZFFI L2lhUTY1WXZBQTFaaFdJMGc3ZDA1MnJTCmRhcXQvdGlvSmJjY3ZYcTdXMThrMnEramxweDlSaE9Y Ukg1dUliV2Z0WmZEb0h5cVlRN0VnTFltU3BaQW5hL1AKSG02Y0x4dnlEcmR6c0ZRMDg3blZ5bjN5 YXFnbmtoRVJqNi9FcG9nMUc1eUl2dnUyZHFMVXNNZDdaVjNLcVREYgpscVFSK0VaUFZySGFJbXI1 d3NCRElXVGRPVjNHcWFaSzZyN2liNmYrNkdMQ3p5alRSOUdjS1JmVm0vVFc1K0doCkYxY0lFd21v cU5YZ1YxTTU2UG10YnZHbEtXZmVWN0piQUhmcVRUTzFNdHlxVFZFbFNTS0xYUDY4RXhyNDFPRy8K WUkzUWRuanB4NlVNRVlTVkdUcTh0K0g4OU1Gd1EzT1YxT1h3NVE5Z0EzZjB3OEptVStaZk1UVXFO c2NQR1pVPQo9QTdLNQotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0K --===============7732043002169048392==--