diff options
author | Andrew Dolgov <[email protected]> | 2005-08-24 09:15:19 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-08-24 09:15:19 +0100 |
commit | 97e98c119ce2327a54ef39b693e1bd1479fb1bbf (patch) | |
tree | 455522bd099d88df6b38a3b5c0fac55edb8b8002 | |
parent | 62b6c0a8e7c1e9c8b6b6d505fa0d1640cc8b737f (diff) |
feed search works now
-rw-r--r-- | backend.php | 2 | ||||
-rw-r--r-- | tt-rss.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backend.php b/backend.php index 027c7060d..9e47ac38c 100644 --- a/backend.php +++ b/backend.php @@ -204,7 +204,7 @@ print "<tr> <td colspan=\"3\" class=\"title\">" . $line["title"] . "</td></tr>"; - if ($ext == "SEARCH") { + if ($subop == "search") { $search = $_GET["search"]; $search_query_part = "(upper(title) LIKE upper('%$search%') OR content LIKE '%$search%') AND"; @@ -297,7 +297,7 @@ function search(feed, sender) { document.getElementById('content').innerHTML=' '; xmlhttp.open("GET", "backend.php?op=viewfeed&feed=" + param_escape(feed) + - "&search=" + param_escape(sender.value) + "&ext=SEARCH", true); + "&search=" + param_escape(sender.value) + "&subop=search", true); xmlhttp.onreadystatechange=viewfeed_callback; xmlhttp.send(null); |