]> git.evergreen-ils.org Git - Evergreen.git/commit
Use getItemType() instead of getForm() in searchBarInit().
authorJason Stephenson <jstephenson@mvlc.org>
Thu, 2 Feb 2012 14:19:11 +0000 (09:19 -0500)
committerMike Rylander <mrylander@gmail.com>
Tue, 20 Mar 2012 17:14:42 +0000 (13:14 -0400)
commitd9760ee099c7eb23ab7fa8ed7c3d75278fd18860
tree2410bb5acfa6934e0ac38773417086bfd9eec78c
parent42a4469a0a9c13d09a04adbe49ff48f835020245
Use getItemType() instead of getForm() in searchBarInit().

This seems to actually fix the problem with the item type limiter
being lost when going from advanced search to the results page.

Looks like the wrong method was being used to set the form_selector
value in search_bar.js. It was being set to the web form itself and
not to the value of the it (item type) parameter.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/opac/skin/default/js/search_bar.js