mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 424038 - Assertion thrown when setting query.sort to SORT_BY_ANNOTATION_* (for ondrej@allpeers.com, r=dietrich)
This commit is contained in:
parent
323c9fb10a
commit
b54b546a08
@ -3242,6 +3242,11 @@ PlacesSQLQueryBuilder::OrderBy()
|
||||
if (mHasDateColumns)
|
||||
OrderByColumnIndexDesc(nsNavHistory::kGetInfoIndex_ItemLastModified);
|
||||
break;
|
||||
case nsINavHistoryQueryOptions::SORT_BY_TAGS_ASCENDING:
|
||||
case nsINavHistoryQueryOptions::SORT_BY_TAGS_DESCENDING:
|
||||
case nsINavHistoryQueryOptions::SORT_BY_ANNOTATION_ASCENDING:
|
||||
case nsINavHistoryQueryOptions::SORT_BY_ANNOTATION_DESCENDING:
|
||||
break; // Sort later in nsNavHistoryQueryResultNode::FillChildren()
|
||||
default:
|
||||
NS_NOTREACHED("Invalid sorting mode");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user