]> git.koha-community.org Git - koha.git/commit
Bug 27680: Add support for sorting fields with multiple data points
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 12 Feb 2021 13:14:16 +0000 (13:14 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 1 Mar 2021 12:50:03 +0000 (13:50 +0100)
commitfa1671aba529e55f124eb759f3b09e237a7282fe
tree2600b60fdd58b5b6abab268bc55677fa7063b588
parentba7f51f3d12fe2a66b8094d9a10a234a3f4e7c4d
Bug 27680: Add support for sorting fields with multiple data points

This patch adds proper handling for sorting a single column that is
constructed of multiple data entities.. i.e `"data": "string1:string2"`

It does NOT add support for filtering on multiple columns yet.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/REST/Plugin/Query.pm
api/v1/swagger/parameters.json
koha-tmpl/intranet-tmpl/prog/js/datatables.js