disable searching by title

master
Andrew Dolgov 16 years ago
parent 76e9a473d1
commit e51b9cb098

@ -127,18 +127,16 @@
if ($browser_search) { if ($browser_search) {
$search_qpart = " AND ( $search_qpart = " AND (
UPPER(ttrss_feedbrowser_cache.feed_url) LIKE UPPER('%$browser_search%') OR UPPER(ttrss_feedbrowser_cache.feed_url) LIKE UPPER('%$browser_search%'))";
UPPER(title) LIKE UPPER('%$browser_search%'))"; //UPPER(title) LIKE UPPER('%$browser_search%'))";
} else { } else {
$search_qpart = ""; $search_qpart = "";
} }
$result = db_query($link, "SELECT ttrss_feedbrowser_cache.feed_url, $result = db_query($link, "SELECT ttrss_feedbrowser_cache.feed_url,
subscribers, subscribers
title
FROM FROM
ttrss_feedbrowser_cache LEFT JOIN ttrss_feeds ttrss_feedbrowser_cache
ON (ttrss_feedbrowser_cache.feed_url = ttrss_feeds.feed_url)
WHERE WHERE
(SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf (SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf
WHERE tf.feed_url = ttrss_feedbrowser_cache.feed_url WHERE tf.feed_url = ttrss_feedbrowser_cache.feed_url

Loading…
Cancel
Save