make Title matching default for filters, change description for filter "both"
This commit is contained in:
parent
e6155a0699
commit
bdc00fe04d
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue