]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP173259 - Array error appears in search box while placing hold after advanced search
authorDan Pearl <dpearl@cwmars.org>
Fri, 2 Mar 2018 18:37:43 +0000 (13:37 -0500)
committerDan Wells <dbw2@calvin.edu>
Mon, 30 Apr 2018 18:29:16 +0000 (14:29 -0400)
commitb8227738b2770c7fc492760c1b5b8fec3a4cfb40
tree5ab909b6ae813b379e731fb7d54b4f815f4fa74d
parentca5e57c9ecfc9bc67a5f9ae4bd0d318e7a9126d0
LP173259 - Array error appears in search box while placing hold after advanced search

The place-hold code assumed it was not in "_adv" parameter mode.  This
assumption was faulty.  Now, the link generated for Place Hold will
translate the argument list to the single-line format that Place Hold
expected, when necessary.

Testing procedure:

Set holds for all the following items, observing that the searchbox in
the searchbar is not blank and does not contain ARRAY(xxx).

Basic Search / Place Hold
Basic Search / Record Detail / Place Hold
Advanced Search with a plain search term / Place Hold
Advanced Search with a plain search term / Record Detail / Place Hold
Advanced Search with a fancy (multiline) search term / Place Hold
Advanced Search with a fancy (multiline) search term / Record Detail / Place Hold

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/parts/result/table.tt2