From: Andrew Dolgov Date: Tue, 1 Aug 2006 08:04:38 +0000 (+0100) Subject: correct help for labels X-Git-Tag: schema_freeze_for_1.2.2~45 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d11bc4de3a2a6a595661d28220c7f1ef807a7ffe;p=tt-rss.git correct help for labels --- diff --git a/backend.php b/backend.php index 8b031aff..292f5e61 100644 --- a/backend.php +++ b/backend.php @@ -2235,8 +2235,8 @@ if ($subop == "test") { - $expr = trim($_GET["expr"]); - $descr = trim($_GET["descr"]); + $expr = db_unescape_string(trim($_GET["expr"])); + $descr = db_unescape_string(trim($_GET["descr"])); print "
Test label: $descr
"; diff --git a/help/1.php b/help/1.php index b6174812..3fd598f3 100644 --- a/help/1.php +++ b/help/1.php @@ -12,11 +12,11 @@

Match all unread articles:

-
unread = true
+
ttrss_user_entries.unread = true

Matches all articles which mention Linux in the title:

-
title like '%Linux%'
+
ttrss_user_entries.title like '%Linux%'

See the database schema included in the distribution package for gruesome details.