]> git.koha-community.org Git - koha.git/commit
Bug 24321: Make dbic_merge_sorting accept a result set as parameter
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Dec 2019 12:48:54 +0000 (09:48 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 8 Jan 2020 14:41:32 +0000 (14:41 +0000)
commit451e7dacd2df7ac731c4a721c1f6c6ab4602719d
tree461468812d4167a646970ec9886253050c632067
parentfabcedca05e4c5ba21888974bba31d0fe4b079e2
Bug 24321: Make dbic_merge_sorting accept a result set as parameter

This patch makes dbic_merge_sorting accept a result set as parameter and
solves a FIXME in _build_order_atom.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/Koha/REST/Plugin/Query.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/REST/Plugin/Query.pm
t/Koha/REST/Plugin/Query.t