]> git.wh0rd.org Git - tt-rss.git/commitdiff
prefs: feed search includes feed_url
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 10 Dec 2005 20:12:18 +0000 (21:12 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 10 Dec 2005 20:12:18 +0000 (21:12 +0100)
backend.php

index a018e0b8dcf93f30c935859c0e6409d8d9c1658d..4f4ac12e79a8550709a6caac51be59a5b51b5c11 100644 (file)
                $_SESSION["pref_sort_feeds"] = $feeds_sort;
 
                if ($feed_search) {
-                       $search_qpart = "UPPER(title) LIKE UPPER('%$feed_search%') AND";
+                       $search_qpart = "(UPPER(title) LIKE UPPER('%$feed_search%') OR
+                               UPPER(feed_url) LIKE UPPER('%$feed_search%')) AND";
                } else {
                        $search_qpart = "";
                }