[Koha] Hiding MARC field from OPAC does not work for plain MARC view

Jonathan Druart jonathan.druart at bugs.koha-community.org
Wed Jan 22 21:50:42 NZDT 2020


Michael, it's a known bug, see:
Bug 8331 - Hidden field does not hide from plain MARC view
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8331
Regards,
Jonathan

Le mar. 21 janv. 2020 à 21:54, Michael Kuhn <mik at adminkuhn.ch> a écrit :
>
> Hi
>
> Field MARC 856 $u usually does contain an electronic location and access.
>
> Our library needs to hide some URL for copyright reasons, so we came up
> with the idea to create a new field MARC 857 $u which contains an URL
> that is (by excluding the OPAC view in the framework) only shown in the
> staff client.
>
> When viewing a simple hit in the OPAC you can click "MARC view" - there
> the field 857 is not shown as expected. But from there you can click
> another link "View plain" which fully shows the URL!
>
> For now we have just hided the MARC view completely using some
> Javascript in system preference "OPACUserJS".
>
> But even now, if you know the Koha URL
> .../cgi-bin/koha/opac-MARCdetail.pl?biblionumber=31080 you can access
> the plain view and see the content of field 857.
>
> Is this a bug or have I missed something?
>
> Best wishes: Michael
> --
> Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
> Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
> T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list