]> git.wh0rd.org - tt-rss.git/blobdiff - schema/upgrade-1.1.5-1.1.7-mysql.sql
sort feedlist by unread articles (closes #66)
[tt-rss.git] / schema / upgrade-1.1.5-1.1.7-mysql.sql
index bfccc3358f78115db982681092c9f9de23f08d34..a7fb99024bcfc89caba1c1050956a3b1f1d4d404 100644 (file)
@@ -3,6 +3,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');