From 1e8ca187c3c232f28f57f1798dd65a3164f9dca7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Forysiuk?= Date: Wed, 17 Aug 2011 23:04:54 +0200 Subject: [PATCH] Sort bookmarks in the panel by title rather than URI --- panels/midori-bookmarks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/midori-bookmarks.c b/panels/midori-bookmarks.c index 90cf1244..b253860e 100644 --- a/panels/midori-bookmarks.c +++ b/panels/midori-bookmarks.c @@ -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); } -- 2.39.5