[Bug 3549] Framework sorting in addbook
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3549 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|PATCH-Sent |P5 Platform|PC |All Patch Status|Patch Pushed |--- --- Comment #2 from Owen Leonard <oleonard@myacpl.org> 2011-02-14 17:52:05 UTC --- The original patch changes this: foreach my $thisframeworkcode ( keys %$frameworks ) { to this: foreach my $thisframeworkcode ( sort keys %$frameworks ) { ...which worka to have the framework list sorted by framework code, but since the description is what is displayed sorting by code doesn't make much sense. The actual commit made this change: foreach my $thisframeworkcode ( sort {$frameworks->{$a} cmp $frameworks->{$b}}keys %{$frameworks} ) { ...but this doesn't seem to work at all. Sorting appears random to me. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org