From: Andrew Dolgov Date: Tue, 23 May 2006 04:16:32 +0000 (+0100) Subject: create filter dialog preselects active feed X-Git-Tag: 1.2.0~36 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=757e8a2dae047c5624d868a4c36abe8418cc1711;p=tt-rss.git create filter dialog preselects active feed --- 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 "";