зеркало из https://github.com/mozilla/pjs.git
Bug 418343: sort form history autocomplete results alphabetically, r=sdwilsh
This commit is contained in:
Родитель
fa1b3f2f6b
Коммит
4fba9e0b99
|
@ -448,7 +448,7 @@ nsFormHistory::OpenDatabase()
|
|||
getter_AddRefs(mDBFindEntryByName));
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
|
||||
rv = mDBConn->CreateStatement(NS_LITERAL_CSTRING("SELECT value FROM moz_formhistory WHERE fieldname=?1"),
|
||||
rv = mDBConn->CreateStatement(NS_LITERAL_CSTRING("SELECT value FROM moz_formhistory WHERE fieldname=?1 ORDER BY value ASC"),
|
||||
getter_AddRefs(mDBGetMatchingField));
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче