[Koha-bugs] [Bug 19564] Fix extraction of sort order from sort condition name

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 2 15:10:41 CET 2017


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

--- Comment #2 from David Gustafsson <glasklas at gmail.com> ---
I did not add a test-case since sorting does currently work anyway because of
other unrelated bugs (which I can link to once having created issues and
submitted fixes f). But this Perl code can be executed to illustrate the issue
(and fix):

my ( $f, $d ) = "call_number_asc" =~ /(.+)_(.+)/;
print "$f $d\n";
( $f, $d ) = split /_/, "call_number_asc";
print "$f $d\n";

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list