[Koha-bugs] [Bug 24432] order_by broken for date columns

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 21 14:22:00 CET 2020


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

--- Comment #11 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 97662
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=97662&action=edit
Bug 24432: Use from_api_mapping to translate column name in _build_order_atom

Use the mapping instead of building a fake hash only to get the key name.

To test:
1. apply this patch
2. prove t/Koha/REST/Plugin/Query.t
3. sign off

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list