[Koha-bugs] [Bug 5556] New: OPAC does not display the type of authority

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 30 11:56:43 CET 2010


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

           Summary: OPAC does not display the type of authority
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: MARC Authority data support
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: januszop at gmail.com
         QAContact: koha-bugs at lists.koha-community.org
                CC: ian.walls at bywatersolutions.com
   Estimated Hours: 0.0


When displaying the results of authority search in OPAC the column "Type of
Heading" remains empty. 

At the bottom is my workaround (2 files need to be considered:
opac-authorities-home.pl and opac-authoritiessearchresultlist.tmpl).

Regards,

Janusz



--- ../koha-3.2.2/opac/opac-authorities-home.pl 2010-12-22 01:58:29.000000000
+0200
+++ /usr/share/koha/opac/cgi-bin/opac/opac-authorities-home.pl  2010-12-27
19:25:58.000000000 +0200
@@ -141,6 +141,7 @@
         to             => $to,
         numbers        => \@numbers,
         authtypecode   => $authtypecode,
+       authtypetext => $authtypes->{$authtypecode}{'authtypetext'},
         isEDITORS      => $authtypecode eq 'EDITORS',
     );

---
../koha-3.2.2/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tmpl
    2010-12-22 01:58:29.000000000 +0200
+++ opac-authoritiessearchresultlist.tmpl       2010-12-30 10:59:49.000000000
+0200
@@ -51,7 +51,7 @@
                                        <td><a
href="opac-authoritiesdetail.pl?authid=<!-- TMPL_VAR NAME="authid" -->"><!--
TMPL_VAR NAME="summary" --></a></td>

                                                <td>
-                                       <!-- TMPL_VAR NAME="authtype" -->
+                                       <!-- TMPL_VAR NAME="authtypetext" -->
                                                </td>
                                        <!-- TMPL_UNLESS name="isEDITORS" -->
                                                <td>

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list