[Koha-bugs] [Bug 11592] opac detail scripts do not respect MARC tag visibility

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 21 22:48:00 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11592

--- Comment #107 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 50489
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50489
Bug 11592: MARCView and ISBD followup

Review of attachment 50489:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=11592&attachment=50489)
-----------------------------------------------------------------

::: opac/opac-ISBDdetail.pl
@@ +92,4 @@
>      }
>  }
>  
> +my $record_unfiltered = GetMarcBiblio($biblionumber,1);

This is because GetMarcBiblio was previously called in C4::Biblio::GetISBDView
with ,1 which includes embedded items.

::: opac/opac-MARCdetail.pl
@@ +108,5 @@
>  my ($bt_tag,$bt_subtag) = GetMarcFromKohaField('biblio.title',$itemtype);
>  $template->param(
>      bibliotitle => $biblio->{title},
> +) if $tagslib->{$bt_tag}->{$bt_subtag}->{hidden} <= 0 && # <=0 OPAC visible.
> +     $tagslib->{$bt_tag}->{$bt_subtag}->{hidden} > -8;   # except -8;

Forgot the -8 (flagged) case.

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


More information about the Koha-bugs mailing list