]> git.koha-community.org Git - koha.git/commit
Bug 19564: Fix extraction of sort order from sort condition name
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Thu, 2 Nov 2017 14:02:23 +0000 (15:02 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 28 Mar 2018 19:05:10 +0000 (16:05 -0300)
commit8e07761f30c576e5f8b275d83ce6dea578148e94
tree706a955bb9084733acb669c84e8c3e55cc08db4c
parent444ac690745cb360db852303b1ff461fa8c7175e
Bug 19564: Fix extraction of sort order from sort condition name

Currently sort order is extracted from sort condition by splitting the
field, instead use regular expression to extract the last part preceded
by underscore.

Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm