Koha-clms/t/Koha
Tomas Cohen Arazi 8430a541af Bug 19370: (QA follow-up) Use OpenAPI's handling of pipe separated values
This patch makes the helper handling _order_by params expect a list of
values instead of a (to-be-splitted) string.

The idea is that the OpenAPI plugin will take care of splitting
pipe-delimited values if the spec is correctly defined.

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

Edit: Removed rebasing leftover making the tests fail.

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-12-11 17:46:59 -03:00
..
Plugin Bug 19173: Make OPAC online payments pluggable 2017-09-19 14:15:52 -03:00
REST/Plugin Bug 19370: (QA follow-up) Use OpenAPI's handling of pipe separated values 2017-12-11 17:46:59 -03:00
SearchEngine Bug 19542: Add a check for ES configuration health 2017-12-11 14:30:42 -03:00
Util Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Config.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
ItemType.t Bug 12748: (QA followup) make new tests pass 2016-04-26 20:20:14 +00:00