summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-03 11:37:40 +0100
committerAndrew Dolgov <[email protected]>2005-09-03 11:37:40 +0100
commitbdc00fe04d95d86e9514f4694ce2f9683b83db7f (patch)
tree088f4ad3305bf7f428142a502f3bf7d510928706
parente6155a06999fe488755b9fdffca6e232a2c5dddc (diff)
make Title matching default for filters, change description for filter "both"
-rw-r--r--backend.php2
-rw-r--r--ttrss_schema.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend.php b/backend.php
index 20847f00a..82b9e9b6c 100644
--- a/backend.php
+++ b/backend.php
@@ -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>
diff --git a/ttrss_schema.sql b/ttrss_schema.sql
index 79a58677c..2c00b3687 100644
--- a/ttrss_schema.sql
+++ b/ttrss_schema.sql
@@ -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),