diff --git a/browser/components/places/content/history-panel.js b/browser/components/places/content/history-panel.js index 191496b5893..f55fa81ce7c 100644 --- a/browser/components/places/content/history-panel.js +++ b/browser/components/places/content/history-panel.js @@ -155,7 +155,7 @@ function searchHistory(aInput) if (aInput) { if (!gSearching) { // Unset grouping when searching; - var options = gHistoryTree.getResult().root.queryOptions; + var options = asQuery(gHistoryTree.getResult().root).queryOptions; options.setGroupingMode([], 0); gSearching = true; }