https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19564 Bug ID: 19564 Summary: Fix extraction of sort order from sort condition name Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: glasklas@gmail.com Currently sort order is extracted from sort condition with "my ( $f, $d ) = split /_/;" So for example with the value "call_number_asc", you get $f (field) "call", and $d (order) "number", when expecting to get "call_number" and "asc". This should be changes using a regular expression instead. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.