make Title matching default for filters, change description for filter "both"

master
Andrew Dolgov 19 years ago
parent e6155a0699
commit bdc00fe04d

@ -648,7 +648,7 @@
print "<table class=\"prefAddFeed\"><tr>
<td><input id=\"fadd_regexp\"></td>
<td>";
print_select("fadd_match", "", $filter_types);
print_select("fadd_match", "Title", $filter_types);
print"</td><td colspan=\"4\" align=\"right\">
<a class=\"button\" href=\"javascript:addFilter()\">Add filter</a></td></tr>

@ -52,7 +52,7 @@ create table ttrss_filter_types (id integer primary key,
insert into ttrss_filter_types (id,name,description) values (1, 'title', 'Title');
insert into ttrss_filter_types (id,name,description) values (2, 'content', 'Content');
insert into ttrss_filter_types (id,name,description) values (3, 'both',
'Title and Content');
'Title or Content');
create table ttrss_filters (id serial primary key,
filter_type integer not null references ttrss_filter_types(id),

Loading…
Cancel
Save