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

--- Comment #4 from Agustín Moyano <agustinmoy...@theke.io> ---
Created attachment 97426
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=97426&action=edit
Bug 24432: Use Koha::Objects->from_api_mapping instead of attributes_from_api
to get the column name in Koha::REST::Plugins::Query->_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

-- 
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