]> git.wh0rd.org Git - tt-rss.git/commitdiff
pref-feeds: allow searching by feed_url
authorAndrew Dolgov <noreply@fakecake.org>
Sat, 30 Jan 2016 10:02:15 +0000 (13:02 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sat, 30 Jan 2016 10:02:15 +0000 (13:02 +0300)
classes/pref/feeds.php

index 167ddabf416d6cbec001e8377fff774b7fe2e620..1bc8a1533f5b298d56e26b6eca6fc475c472d84f 100755 (executable)
@@ -34,7 +34,7 @@ class Pref_Feeds extends Handler_Protected {
                else
                        $search = "";
 
-               if ($search) $search_qpart = " AND LOWER(title) LIKE LOWER('%$search%')";
+               if ($search) $search_qpart = " AND (LOWER(title) LIKE LOWER('%$search%') OR LOWER(feed_url) LIKE LOWER('%$search%'))";
 
                // first one is set by API
                $show_empty_cats = $_REQUEST['force_show_empty'] ||