[Koha-bugs] [Bug 27807] API DataTables Wrapper fails for ordered on multiple columns

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 2 12:39:52 CET 2021


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

--- Comment #5 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #2)
> I've applied "Bug 27680: [DO NOT PUSH] Example patch on cities" and I
> managed to generate queries like:
> 
>   _order_by=+me.name,+me.state,+me.name,+me.city_id
> or even:
>   _order_by=+me.name,+me.state,+me.name,-me.city_id
> 
> I know it is not an usual case, and certainly only hypothetical, but maybe
> we should unique orderArray?

Good catch.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list