[Koha-bugs] [Bug 8210] Headings in OPAC bib details should link to authority record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Sep 16 15:17:18 CEST 2012


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

Jared Camins-Esakov <jcamins at cpbibliography.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #11519|0                           |1
        is obsolete|                            |
  Attachment #11591|0                           |1
        is obsolete|                            |

--- Comment #9 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 12261
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12261&action=edit
Bug 8210: add links to authorities to headings in OPAC

At the moment, there is no way to get to an authority record from a bib
record that uses it other than doing a new search on the authority file.
This patch adds a link (a cute little magnifying glass) to linked
authority records on the OPAC detail view for MARC21 and NORMARC
with XSLT enabled. A follow-up patch will add the link to regular mode.
Because UNIMARC handles authorities differently, the link is not added
to the XSLT.

Test plan:
1) Set OPACXSLTDetailsDisplay to 'default'
2) View a record that has some headings that are linked to authority
   records in the OPAC (easiest way to find a record like that is to
   edit a record and add some headings using the thesaurus plugin)
3) Observe the cute little magnifying glass links to the authority.

Revised version of the patch adds a space between the heading and the
magnifying glass.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Patch works nicely.

If a library does not like to see the
magnifying glass/link to the authority, it's easy to disable it
by adding the line .authlink {display:none;} to OpacUserCSS.

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


More information about the Koha-bugs mailing list