]> spindle.queued.net Git - midori/commitdiff
Sort bookmarks in the panel by title rather than URI
authorPaweł Forysiuk <tuxator@o2.pl>
Wed, 17 Aug 2011 21:04:54 +0000 (23:04 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 17 Aug 2011 21:04:54 +0000 (23:04 +0200)
panels/midori-bookmarks.c

index 90cf1244dc9e63062f476dbecf6a8264e2a9cc97..b253860e34071701eb9c617ec607c4bf7507cfb4 100644 (file)
@@ -205,7 +205,7 @@ midori_bookmarks_read_from_db (MidoriBookmarks* bookmarks,
         if (!folder)
             folder = "";
         sqlcmd = "SELECT uri, title, desc, app, toolbar, folder from bookmarks where "
-                 " folder = ? ORDER BY uri DESC";
+                 " folder = ? ORDER BY title DESC";
         result = sqlite3_prepare_v2 (db, sqlcmd, -1, &statement, NULL);
         sqlite3_bind_text (statement, 1, g_strdup (folder), -1, g_free);
     }