]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/web/opac/skin/default/js/search_bar.js
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:13:59 +0000 (13:13 -0400)
commitf4602609ff15772b4e18a23d4cf7b42e8a1689d8
treef250594e89f488f52dcce7a6b714be3bef1cc2da
parent9172d83e71cbc8c06d1f42a7ca08b1b96efd8707
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