[Koha-bugs] [Bug 27680] API DataTables Wrapper fails for ordering on multi-data-field columns
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 26 13:30:44 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27680
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #117341|0 |1
is obsolete| |
--- Comment #28 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 117375
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117375&action=edit
Bug 27680: (follow-up) Attempt to catch the exception
Help: I'm struggling to catch the point at which the exception should be
thrown to convert it to a 400 error response in the API. '->search' does
not actually trigger the DB hit until we reference some data from it..
so we can't use that.. so I tried '->count', but of course.. that drops
'order_by' which is the failure in this case and so we pass through.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list