rem: CreateDBView(gDBView.msgFolder, (gXFVirtualFolderTerms) ? nsMsgViewType.eShowVirtualFolderResults : nsMsgViewType.eShowQuickSearchResults, nsMsgViewFlagsType.kNone, gDBView.sortType, gDBView.sortOrder); 
add: CreateDBView(gDBView.msgFolder, (gXFVirtualFolderTerms) ? nsMsgViewType.eShowVirtualFolderResults : nsMsgViewType.eShowQuickSearchResults, gDBView.viewFlags, gDBView.sortType, gDBView.sortOrder); 
context: function createQuickSearchView(){  //if not already in quick search view   if (gDBView.viewType != nsMsgViewType.eShowQuickSearchResults)    {    var treeView = gDBView.QueryInterface(Components.interfaces.nsITreeView);  //clear selection    if (treeView && treeView.selection)      treeView.selection.clearSelection();    gPreQuickSearchView = gDBView;    if (gDBView.viewType == nsMsgViewType.eShowVirtualFolderResults)    {      // remove the view as a listener on the search results      var saveViewSearchListener = gDBView.QueryInterface(Components.interfaces.nsIMsgSearchNotify);      gSearchSession.unregisterListener(saveViewSearchListener);    }    CreateDBView(gDBView.msgFolder, (gXFVirtualFolderTerms) ? nsMsgViewType.eShowVirtualFolderResults : nsMsgViewType.eShowQuickSearchResults, nsMsgViewFlagsType.kNone, gDBView.sortType, gDBView.sortOrder);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/069e61733c7d79b8cb61a2887f4b69b4cf777f48/searchBar.js/clean/mailnews/base/resources/content/searchBar.js