]> git.koha-community.org Git - koha.git/commit
Bug 24191: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 9 Dec 2019 17:41:35 +0000 (14:41 -0300)
committerHayley Mapley <hayleymapley@catalyst.net.nz>
Thu, 9 Jan 2020 21:15:09 +0000 (10:15 +1300)
commitd63d023a2ad31faf8b4c7f4a439c719e8a85eb59
treec87b4108d502b6644040cf92ed7840bf77e67da0
parent8e966b9f77514511c336be9ed077acef5ee26bcc
Bug 24191: Regression tests

This patch adds missing tests for calling objects.search with
non-existent column names for sorting, that should be mapped using
to_model for that matter.

Tests should fail as there's no current use of to_model for building the
order_by portion of the query.

Sponsored-by: ByWater Solutions
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit f38519b0638f620d0faeebdc2f0e0c74085c5838)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 99ad6cac3068621ff72c02f4f7ae4916124f52d5)
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
t/db_dependent/Koha/REST/Plugin/Objects.t