[Koha-devel] Z39.50 search results: DATE blank - add PUBLISHER

Liz Rea liz at catalyst.net.nz
Tue Nov 19 00:56:23 CET 2013


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}         =  $oldbiblio->{copyrightdate};
> in
>   $row_data{date}         =  $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}       = $servername[$k];
>        $row_data{isbn}         = $oldbiblio->{isbn};
>        $row_data{lccn}         = $oldbiblio->{lccn};
>        $row_data{title}        = $oldbiblio->{title};
>        $row_data{author}       = $oldbiblio->{author};
>        $row_data{date}         = $oldbiblio->{publicationyear};
> ****   $row_data{publisher}    = $oldbiblio->{publishercode};
>        $row_data{edition}      = $oldbiblio->{editionstatement};
>
> and in:
> /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt
> (change ../prog/LANGUAGE/modules/.. if not english)
> at line 155 the search results mask:
>         <th>Server</th>
>         <th>Title</th>
>         <th>Author</th>
>         <th>Date</th>
> ****    <th>Publisher</th>
>         <th>Edition</th>
>         <th>ISBN</th>
>         <th>LCCN</th>
>
> [Below the correspondet modified lines:]
>
>             <td>[% breeding_loo.server %] <div class="linktools"><a
> href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.bree$
>             <td>[% breeding_loo.title |html %]</td>
>             <td>[% breeding_loo.author %]</td>
>             <td>[% breeding_loo.date %]</td>
> ****        <td>[% breeding_loo.publisher %]</td>
>             <td>[% breeding_loo.edition %]</td>
>             <td>[% breeding_loo.isbn %]</td>
>             <td>[% breeding_loo.lccn %]</td>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at 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/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20131119/87098b43/attachment.pgp>


More information about the Koha-devel mailing list