Sort bookmarks in the panel by title rather than URI

This commit is contained in:
Paweł Forysiuk 2011-08-17 23:04:54 +02:00 committed by Christian Dywan
parent fedd36ac91
commit 1e8ca187c3

View 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);
}