From 9def5540825b42b7d3cee1fc484757bf5009c556 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 30 Jan 2016 13:02:15 +0300 Subject: [PATCH] pref-feeds: allow searching by feed_url --- classes/pref/feeds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] || -- 2.39.5