[Koha-bugs] [Bug 19564] New: 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 14:55:05 CET 2017


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 at lists.koha-community.org
          Reporter: glasklas at 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.


More information about the Koha-bugs mailing list