From 17c755f048cf32fcd4351000d17f1db720fdceb5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 13 Sep 2012 12:47:09 +0400 Subject: [PATCH] fix pref-feeds search --- classes/pref/feeds.php | 4 ++++ 1 file changed, 4 insertions(+) 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'); -- 2.39.5