Order completion matches by most recent visit, ascending
This commit is contained in:
parent
5bf92be622
commit
4b35435c2c
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ midori_location_action_popup_timeout_cb (gpointer data)
|
|||
and prepending/ appending % to the key. */
|
||||
query = sqlite3_mprintf ("SELECT DISTINCT uri, title FROM history WHERE "
|
||||
"uri LIKE '%%%q%%' OR title LIKE '%%%q%%'"
|
||||
"ORDER BY day LIMIT %d",
|
||||
"ORDER BY date ASC LIMIT %d",
|
||||
action->key, action->key, MAX_ITEMS);
|
||||
result = sqlite3_prepare_v2 (db, query, -1, &statement, NULL);
|
||||
sqlite3_free (query);
|
||||
|
|
Loading…
Reference in a new issue