[Xfce4-commits] <midori:master> Order completion matches by most recent visit, ascending

Christian Dywan noreply at xfce.org
Tue Jan 19 06:48:04 CET 2010


Updating branch refs/heads/master
         to 4b35435c2c3a40912dfa9e1f27d0f14407bb20e9 (commit)
       from 5bf92be62211456a89ae2a439115eef07f553d41 (commit)

commit 4b35435c2c3a40912dfa9e1f27d0f14407bb20e9
Author: Alexander Butenko <a.butenka at gmail.com>
Date:   Tue Jan 19 06:42:21 2010 +0100

    Order completion matches by most recent visit, ascending

 midori/midori-locationaction.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c
index b3281e1..5e4f369 100644
--- a/midori/midori-locationaction.c
+++ b/midori/midori-locationaction.c
@@ -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);



More information about the Xfce4-commits mailing list