From 97e98c119ce2327a54ef39b693e1bd1479fb1bbf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 24 Aug 2005 09:15:19 +0100 Subject: [PATCH] feed search works now --- backend.php | 2 +- tt-rss.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend.php b/backend.php index 027c7060..9e47ac38 100644 --- a/backend.php +++ b/backend.php @@ -204,7 +204,7 @@ print " " . $line["title"] . ""; - if ($ext == "SEARCH") { + if ($subop == "search") { $search = $_GET["search"]; $search_query_part = "(upper(title) LIKE upper('%$search%') OR content LIKE '%$search%') AND"; diff --git a/tt-rss.js b/tt-rss.js index 16ca4cf1..1776c1c3 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -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); -- 2.39.5