pref-feeds: allow searching by feed_url

This commit is contained in:
Andrew Dolgov 2016-01-30 13:02:15 +03:00
parent a5556c2471
commit 9def554082

View file

@ -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'] ||