Sort bookmarks in the panel by title rather than URI
This commit is contained in:
parent
fedd36ac91
commit
1e8ca187c3
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ midori_bookmarks_read_from_db (MidoriBookmarks* bookmarks,
|
||||||
if (!folder)
|
if (!folder)
|
||||||
folder = "";
|
folder = "";
|
||||||
sqlcmd = "SELECT uri, title, desc, app, toolbar, folder from bookmarks where "
|
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);
|
result = sqlite3_prepare_v2 (db, sqlcmd, -1, &statement, NULL);
|
||||||
sqlite3_bind_text (statement, 1, g_strdup (folder), -1, g_free);
|
sqlite3_bind_text (statement, 1, g_strdup (folder), -1, g_free);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue