bug 16879 toggle advanced search moved to template