From: Andrew Dolgov Date: Sat, 30 Jan 2016 10:02:15 +0000 (+0300) Subject: pref-feeds: allow searching by feed_url X-Git-Tag: 16.3~38 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9def5540825b42b7d3cee1fc484757bf5009c556;p=tt-rss.git pref-feeds: allow searching by feed_url --- diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index 167ddabf..1bc8a153 100755 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -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'] ||