[Koha-bugs] [Bug 14385] Extend OpacHiddenItems to allow specifying exempt borrower categories

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 2 23:51:48 CET 2020


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

--- Comment #198 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Jonathan Druart from comment #197)
> From this commit 70651422a7517338a68e22321d9918757746ef33
>     Bug 14385: (QA follow-up) Additional changes and fixes
> 
> @ Biblio.pm:1551 @ sub GetAuthorisedValueDesc {
> 
>          #---- branch
>          if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq
> "branches" ) {
> -            return Koha::Libraries->find($value)->branchname;
> +            my $branch = Koha::Libraries->find($value);
> +            return $branch? $branch->branchname: q{};
>          }
> 
> 
> We are actually hiding a data inconsistency. I would recommend to revert
> that change and fix the failing test properly instead.

I think this got lost here - should we file a new bug report? Not sure how to
phrase it.

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


More information about the Koha-bugs mailing list