Bug 432778 – Searching on Tags doesn't give back any results. r=dietrich

This commit is contained in:
Marco Bonardo 2008-08-03 12:57:17 +02:00
Родитель 998b3ede01
Коммит 0c1e66f1a5
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -853,6 +853,10 @@ var PlacesSearchBox = {
//scopeBtn.label = PlacesOrganizer._places.selectedNode.title;
break;
case "bookmarks":
// Make sure we're getting uri results.
// We do not yet support searching into grouped queries or into
// tag containers, so we must fall to the default case.
currentOptions.resultType = currentOptions.RESULT_TYPE_URI;
content.applyFilter(filterString,
[PlacesUtils.bookmarksMenuFolderId,
PlacesUtils.toolbarFolderId,