From 757e8a2dae047c5624d868a4c36abe8418cc1711 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 23 May 2006 05:16:32 +0100 Subject: [PATCH] create filter dialog preselects active feed --- backend.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend.php b/backend.php index 2ffbea3d..bad5253c 100644 --- a/backend.php +++ b/backend.php @@ -2762,6 +2762,8 @@ if ($id == "quickAddFilter") { + $active_feed_id = db_escape_string($_GET["param"]); + print "
Create filter
"; print "
"; @@ -2772,7 +2774,7 @@ print ""; // print "
Note: filter will only apply to new articles.
"; - + $result = db_query($link, "SELECT id,description FROM ttrss_filter_types ORDER BY description"); @@ -2796,7 +2798,7 @@ print ""; print "Feed:"; - print_feed_select($link, "feed_id"); + print_feed_select($link, "feed_id", $active_feed_id); print ""; -- 2.39.5