[Bug 14385] Extend OpacHiddenItems to allow specifying exempt borrower categories
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14385 --- Comment #198 from Katrin Fischer <katrin.fischer@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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org