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 */,
|
gHistoryTree.applyFilter(aInput, false /* onlyBookmarks */,
|
||||||
0 /* folderRestrict */, null);
|
null /* folderRestrict */, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -364,7 +364,7 @@ var PlacesSearchBox = {
|
|||||||
switch (PlacesSearchBox.filterCollection) {
|
switch (PlacesSearchBox.filterCollection) {
|
||||||
case "collection":
|
case "collection":
|
||||||
var folderId = content.getResult().root.itemId;
|
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);
|
PO.setHeaderText(PO.HEADER_TYPE_SEARCH, filterString);
|
||||||
break;
|
break;
|
||||||
case "bookmarks":
|
case "bookmarks":
|
||||||
@ -374,7 +374,7 @@ var PlacesSearchBox = {
|
|||||||
PlacesOrganizer.onPlaceSelected();
|
PlacesOrganizer.onPlaceSelected();
|
||||||
break;
|
break;
|
||||||
case "all":
|
case "all":
|
||||||
content.applyFilter(filterString, false, 0, OptionsFilter);
|
content.applyFilter(filterString, false, null, OptionsFilter);
|
||||||
PO.setHeaderText(PO.HEADER_TYPE_SEARCH, filterString);
|
PO.setHeaderText(PO.HEADER_TYPE_SEARCH, filterString);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user