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

--- Comment #12 from Tomás Cohen Arazi <tomasco...@gmail.com> ---
Created attachment 69304
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69304&action=edit
Bug 19370: (QA followup) Use OpenAPI's handling of pipe separated values

This patch changes the _order_by definition so it's values are handled
correctly by the Mojolicious::Plugin::OpenAPI plugin.

Code is adjusted to expect a list instead of a (to-be-splitted) string.

Tests are adjusted too.

Note: In the process I noticed + on the URL represents a space, so the
helper function is updated to handle both + and %2B as ascending.

To test:
- Run:
  $ kshell
 k$ prove t/Koha/REST/Plugin/Query.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomasco...@theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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