[Patches] [PATCH] Bug 7312: Adds ISSN to serials/subscription-bib-search.pl

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Sat Dec 3 14:16:27 NZDT 2011


From: Matthias Meusburger <matthias.meusburger at biblibre.com>
Date: Thu, 12 May 2011 11:29:01 +0200
Subject: [PATCH] Bug 7312: Adds ISSN to serials/subscription-bib-search.pl
 results

---
 .../prog/en/modules/serials/result.tt              |    5 +++++
 serials/subscription-bib-search.pl                 |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt
index 30ec303..54b4497 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt
@@ -27,6 +27,7 @@ function GetIt(bibno,title)
        <th>Author</th>
        <th>Publisher</th>
        <th>Publication year</th>
+       <th>ISSN</th>
 	   <th> </th>
     </tr>
     [% FOREACH resultsloo IN resultsloop %]
@@ -42,6 +43,10 @@ function GetIt(bibno,title)
             <td>
                 [% resultsloo.publicationyear |html %]
             </td>
+            <td>
+                [% resultsloo.issn |html %]
+            </td>
+
 			<td><a href="#" onclick="GetIt('[% resultsloo.biblionumber %]',$(this));" title="Choose this record">Choose</a></td>
         </tr>
     [% END %]
diff --git a/serials/subscription-bib-search.pl b/serials/subscription-bib-search.pl
index b76a701..623efe2 100755
--- a/serials/subscription-bib-search.pl
+++ b/serials/subscription-bib-search.pl
@@ -127,6 +127,7 @@ if ($op eq "do_search" && $query) {
         $resultsloop{author}          = $biblio->{'author'};
         $resultsloop{publishercode}   = $biblio->{'publishercode'};
         $resultsloop{publicationyear} = $biblio->{'publicationyear'};
+        $resultsloop{issn}            = $biblio->{'issn'};
 
         push @results, \%resultsloop;
     }
-- 
1.7.5.4




More information about the Patches mailing list