Bug 378632 - Viewing history by site in sidebar doesn't organise by site. r=mconnor.

This commit is contained in:
mozilla.mano%sent.com 2007-08-23 09:27:53 +00:00
Родитель c19d7b99a3
Коммит 546a87de48
1 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -126,10 +126,6 @@ function searchHistory(aInput)
}
else {
switch (gHistoryGrouping) {
case "site":
resultType = NHQO.RESULTS_AS_URI;
sortingMode = NHQO.SORT_BY_TITLE_ASCENDING;
break;
case "visited":
resultType = NHQO.RESULTS_AS_URI;
sortingMode = NHQO.SORT_BY_VISITCOUNT_DESCENDING;
@ -138,10 +134,11 @@ function searchHistory(aInput)
resultType = NHQO.RESULTS_AS_URI;
sortingMode = NHQO.SORT_BY_DATE_DESCENDING;
break;
case "dayandsite":
resultType = NHQO.RESULTS_AS_VISIT;
case "dayandsite": // fall through
groups.push(NHQO.GROUP_BY_DAY);
case "site":
groups.push(NHQO.GROUP_BY_HOST);
resultType = NHQO.RESULTS_AS_VISIT;
sortingMode = NHQO.SORT_BY_TITLE_ASCENDING;
break;
default: