]> git.wh0rd.org - tt-rss.git/blobdiff - schema/upgrade-1.1.5-1.1.7-pgsql.sql
sort feedlist by unread articles (closes #66)
[tt-rss.git] / schema / upgrade-1.1.5-1.1.7-pgsql.sql
index 4a2237a3f778f73c98ee535970b9c1787559a899..4c7c78f9d78765c09abee0de14808a9b1169e642 100644 (file)
@@ -5,6 +5,8 @@ insert into ttrss_themes (theme_name, theme_path) values ('Old-skool', 'compat')
 insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('ON_CATCHUP_SHOW_NEXT_FEED', 1, 'false', 'On catchup show next feed',2,
        'When "Mark as read" button is clicked in toolbar, automatically open next feed with unread articles.');
 
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('FEEDS_SORT_BY_UNREAD', 1, 'false', 'Sort feeds by unread articles count',2);
+
 insert into ttrss_filter_actions (id,name,description) values (3, 'mark', 
        'Set starred');