From: Andrew Dolgov Date: Thu, 13 Sep 2012 08:47:09 +0000 (+0400) Subject: fix pref-feeds search X-Git-Tag: 1.6.0~47 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=17c755f048cf32fcd4351000d17f1db720fdceb5;p=tt-rss.git fix pref-feeds search --- diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index a1177f2d..77622d53 100644 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -25,6 +25,10 @@ class Pref_Feeds extends Handler_Protected { } private function get_category_items($cat_id) { + $search = $_SESSION["prefs_feed_search"]; + + if ($search) $search_qpart = " AND LOWER(title) LIKE LOWER('%$search%')"; + $show_empty_cats = $_REQUEST['mode'] != 2 && get_pref($this->link, '_PREFS_SHOW_EMPTY_CATS');