Bug 16951: Fix Item search sorting
commit9ccbb3e45c5e960a8bc28ace434cd046b46393fa
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 15 Dec 2016 12:45:22 +0000 (15 13:45 +0100)
committerMason James <mtj@kohaaloha.com>
Tue, 3 Jan 2017 01:44:42 +0000 (3 14:44 +1300)
treeb7f0764273da582583a29f4d22689ddfdef43b9e
parent111717a2a118748b733949cb8b31d2c0d5836ef8
Bug 16951: Fix Item search sorting

Caused by
  commit ac5a1bfececb5400a77f0ebad90181f5215d5a85
    Bug 16154: CGI->multi_param - Manual changes

The change was wrong, we wanted to retrieve a scalar (the string), not
an array.
We want to retrieve a string with the different column' names, not an
array of 1 element.

Test plan:
Launch an item search and play with column sort

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 2184fa6ab1a7449857df15894c8de075aac729ec)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
(cherry picked from commit 01f495673f61eb5fced39f1f47ea2c04b5074a35)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
catalogue/itemsearch.pl