mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fix for bug #384670: current collection searches in bookmark organizer window search all of bookmarks
r=dietrich
This commit is contained in:
parent
672783b34b
commit
623aced10e
@ -166,6 +166,6 @@ function searchHistory(aInput)
|
||||
}
|
||||
|
||||
gHistoryTree.applyFilter(aInput, false /* onlyBookmarks */,
|
||||
0 /* folderRestrict */, null);
|
||||
null /* folderRestrict */, null);
|
||||
}
|
||||
|
||||
|
@ -364,7 +364,7 @@ var PlacesSearchBox = {
|
||||
switch (PlacesSearchBox.filterCollection) {
|
||||
case "collection":
|
||||
var folderId = content.getResult().root.itemId;
|
||||
content.applyFilter(filterString, true, folderId, OptionsFilter);
|
||||
content.applyFilter(filterString, true, [folderId], OptionsFilter);
|
||||
PO.setHeaderText(PO.HEADER_TYPE_SEARCH, filterString);
|
||||
break;
|
||||
case "bookmarks":
|
||||
@ -374,7 +374,7 @@ var PlacesSearchBox = {
|
||||
PlacesOrganizer.onPlaceSelected();
|
||||
break;
|
||||
case "all":
|
||||
content.applyFilter(filterString, false, 0, OptionsFilter);
|
||||
content.applyFilter(filterString, false, null, OptionsFilter);
|
||||
PO.setHeaderText(PO.HEADER_TYPE_SEARCH, filterString);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user