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 <jstephenson@mvlc.org>
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();