[Koha-bugs] [Bug 11266] New: Z39.50 search results: DATE blank - add PUBLISHER

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 18 15:55:47 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11266

            Bug ID: 11266
           Summary: Z39.50 search results: DATE blank - add PUBLISHER
 Change sponsored?: ---
           Product: Koha
           Version: 3.12
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: andrea.furin at slacky.it
        QA Contact: testopia at bugs.koha-community.org

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>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list