From: Jason Stephenson Date: Sat, 28 Apr 2012 18:39:42 +0000 (-0400) Subject: Revert "Use getItemType() instead of getForm() in searchBarInit()." X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f3af9a00af84af7a44fcf308fa70afca65cbc0c6;p=Evergreen.git 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 --- 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();