rem: placeURI += "&sort=" + NHQO.SORT_BY_TITLE_ASCENDING; break; default: /* "day" */ 
add: }  placeURI += "&sort=" + NHQO.SORT_BY_TITLE_ASCENDING; break; default: /* "day" */  if (!aSearchString) 
context: function SetPlace(aSearchString){  var placeURI = ORGANIZER_ROOT_HISTORY_UNSORTED;  var prefService =     Components.classes["@mozilla.org/preferences-service;1"]            .getService(Ci.nsIPrefBranch);  if (prefService.getBoolPref("browser.history.showSessions"))      placeURI += "&showSessions=1";  // if there is a search string, root the places tree into  // the history root (sorted by SORT_BY_TITLE_ASCENDING)  // otherwise, root the tree based on gHistoryGrouping  if (aSearchString)    placeURI += "&sort=" + NHQO.SORT_BY_TITLE_ASCENDING;  else {    switch (gHistoryGrouping) {      case "site":        placeURI += "&sort=" + NHQO.SORT_BY_TITLE_ASCENDING;        break;       case "visited":        placeURI += "&sort=" + NHQO.SORT_BY_VISITCOUNT_DESCENDING;        break;       case "lastvisited":        placeURI += "&sort=" + NHQO.SORT_BY_DATE_DESCENDING;        break;       case "dayandsite":        placeURI += "&group=" + NHQO.GROUP_BY_DAY;        placeURI += "&group=" + NHQO.GROUP_BY_HOST;         placeURI += "&sort=" + NHQO.SORT_BY_TITLE_ASCENDING;        break;      default: /* "day" */        placeURI += "&group=" + NHQO.GROUP_BY_DAY;        placeURI += "&sort=" + NHQO.SORT_BY_TITLE_ASCENDING;        break;    }  }  /* don't re-root if the placeURI has not changed */  if (gHistoryTree.place == placeURI)    return;  gHistoryTree.place = placeURI;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cd90ea46f77fd87ec385fdc78ddd63281b3a9f17/history-panel.js/buggy/browser/components/places/content/history-panel.js