]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 14 May 2018 13:48:48 +0000 (13:48 +0000)
commitecadc62eb4da98fd8f56f8de2e95f6270e7dc14a
tree7c954c2134c87dc6482758ea56fd4b550d812c1a
parent16dfb0309b778725fdb76cadee9943a0344285ed
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