From f3af9a00af84af7a44fcf308fa70afca65cbc0c6 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Sat, 28 Apr 2012 14:39:42 -0400 Subject: [PATCH] Revert "Use getItemType() instead of getForm() in searchBarInit()." This reverts commit 47309fd18aad422b06fad51e5588400fd38cf71b. The reverted commit caused a problem with basic search, and fixing the problem with basic search was deemed more important than fixing this issue with Advanced seach. See Launchpad bugs: https://bugs.launchpad.net/evergreen/+bug/979158 https://bugs.launchpad.net/evergreen/+bug/788629 Signed-off-by: Jason Stephenson --- Open-ILS/web/opac/skin/default/js/search_bar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/opac/skin/default/js/search_bar.js b/Open-ILS/web/opac/skin/default/js/search_bar.js index 4585067b3e..1801edc1bf 100644 --- a/Open-ILS/web/opac/skin/default/js/search_bar.js +++ b/Open-ILS/web/opac/skin/default/js/search_bar.js @@ -33,7 +33,7 @@ function searchBarInit() { G.ui.searchbar.text.value = (getTerm() != null) ? getTerm() : ""; if (!isFrontPage) G.ui.searchbar.facets.value = (getFacet() != null) ? getFacet() : ""; setSelector(_ts, getStype()); - setSelector(_fs, getItemType()); + setSelector(_fs, getForm()); depthSelInit(); -- 2.11.0