[Koha-bugs] [Bug 20760] Advanced Cataloging Editor - Rancor - AuthorisedValues are incorrectly fetched

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 4 15:55:36 CEST 2018


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

--- Comment #2 from M. Tompsett <mtompset at 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.


More information about the Koha-bugs mailing list