Bug 14816: Fix multiple selection in item search
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 7 Jan 2016 14:38:57 +0000 (15:38 +0100)
committerBrendan Gallagher <bredan@bywatersolutions.com>
Wed, 20 Apr 2016 21:00:49 +0000 (21:00 +0000)
commit9aa8bf46f6b45ebcd342c09bd3a09ae55f3dd4a8
treeb9c858a1d2d13f7c8f6328eefbb2026796a597bb
parent9550e37fc66402500adf8bca7a1c90ee0104cdd0
Bug 14816: Fix multiple selection in item search

Send each selected value as a separate parameter. Otherwise DataTables
(or jQuery ?) joins all values with a comma

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

I could not reproduce the bug when selecting multiple home libraries,
but I could by selecting multiple item types or collection codes. The
patch allowed those queries to complete correctly.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher <bredan@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt