]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 4 Mar 2021 09:41:48 +0000 (10:41 +0100)
commit17eaec7a486800cfdc1f6b8fde8836738bed6406
tree44cd5b923cb37fb45e4b529c8f571754fa6466d5
parent1a62dd04c5eeb3aa1792daa98eaea2fc0800f591
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>
(cherry picked from commit fa1671aba529e55f124eb759f3b09e237a7282fe)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/REST/Plugin/Query.pm
api/v1/swagger/parameters.json
koha-tmpl/intranet-tmpl/prog/js/datatables.js