Order bookmarks descending. Folders should always be on top
This commit is contained in:
parent
3b46d80161
commit
9bff58199a
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ midori_bookmarks_read_from_db (MidoriBookmarks* bookmarks,
|
|||
db = g_object_get_data (G_OBJECT (bookmarks->array), "db");
|
||||
|
||||
sqlcmd = "SELECT uri, title, type from bookmarks where folder = ?"
|
||||
" ORDER BY type, title ASC";
|
||||
" ORDER BY type DESC";
|
||||
result = sqlite3_prepare_v2 (db, sqlcmd, -1, &statement, NULL);
|
||||
sqlite3_bind_text (statement, 1, g_strdup(folder), -1, g_free);
|
||||
|
||||
|
|
Loading…
Reference in a new issue