https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27680

--- Comment #27 from Martin Renvoize <martin.renvo...@ptfs-europe.com> ---
Created attachment 117341
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117341&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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to