[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 18:51:54 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20760
--- Comment #7 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 75779
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75779
[ALTERNATIVE PATCH] Bug 20760: Fill authorised values in svc framework
Review of attachment 75779:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20760&attachment=75779)
-----------------------------------------------------------------
::: svc/cataloguing/framework
@@ +53,5 @@
> }
>
> +my $avs = C4::Koha::GetAuthorisedValues();
> +for my $av ( @$avs ) {
> + push @{ $authorised_values->{$av->{category}} }, { value => $av->{authorised_value}, lib => $av->{lib} };
The other version had order_by lib. This uses order by category first. Perhaps
add a sort?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list