https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20760 --- Comment #2 from M. Tompsett <mtompset@hotmail.com> --- Comment on attachment 75291 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75291 Bug 20760: Correctly fetch authorised values for rancor Review of attachment 75291: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20760&attachment=75291) ----------------------------------------------------------------- ::: svc/cataloguing/framework @@ +53,4 @@
}
my $branch_limit = C4::Context->userenv ? C4::Context->userenv->{"branch"} : ""; +my $results = Koha::AuthorisedValues->search({ branchcode => $branch_limit },{ order_by => "lib" });
Will this behave the same if branch_limit is q{}? Perhaps an if to define the passed hashref would be safer? -- You are receiving this mail because: You are watching all bug changes.