]> git.wh0rd.org Git - tt-rss.git/commitdiff
disable searching by title
authorAndrew Dolgov <fox@bah.spb.su>
Tue, 20 Jan 2009 09:48:10 +0000 (10:48 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Tue, 20 Jan 2009 09:48:10 +0000 (10:48 +0100)
modules/pref-feed-browser.php

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