]> git.koha-community.org Git - koha.git/commit
Bug 27680: (QA follow-up) Update test for dbic_merge_sorting
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 2 Mar 2021 08:56:14 +0000 (08:56 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 4 Mar 2021 09:41:48 +0000 (10:41 +0100)
commitc4ce9c97007f66687097afc729f257e0836b5ca0
tree64393b9e4198e9612e1a9daae0b5119438761961
parent95fda2115d9c0106072eca39ebf7cf6fe02c7edf
Bug 27680: (QA follow-up) Update test for dbic_merge_sorting

The order_by handling will now always return an arrayref of ordering
hashrefs even when only one ordering hash is present. This is
interpreted by dbic as equivilent so I just update the test to pass
here.

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 96aa6877ae39c987214e46d00c70c76591da0174)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/Koha/REST/Plugin/Query.t