mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 09:55:56 +00:00
fix 'view as rss' not working correctly for search results
This commit is contained in:
@@ -4275,6 +4275,12 @@
|
|||||||
|
|
||||||
if ($is_cat) $cat_q = "&is_cat=$is_cat";
|
if ($is_cat) $cat_q = "&is_cat=$is_cat";
|
||||||
|
|
||||||
|
if ($search) {
|
||||||
|
$search_q = "&q=$search&m=$match_on&smode=$search_mode";
|
||||||
|
} else {
|
||||||
|
$search_q = "";
|
||||||
|
}
|
||||||
|
|
||||||
$rss_link = htmlspecialchars(get_self_url_prefix() .
|
$rss_link = htmlspecialchars(get_self_url_prefix() .
|
||||||
"/backend.php?op=rss&id=$feed_id$cat_q$search_q");
|
"/backend.php?op=rss&id=$feed_id$cat_q$search_q");
|
||||||
|
|
||||||
@@ -4323,12 +4329,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($search) {
|
|
||||||
$search_q = "&q=$search&m=$match_on&smode=$search_mode";
|
|
||||||
} else {
|
|
||||||
$search_q = "";
|
|
||||||
}
|
|
||||||
|
|
||||||
$reply .= "
|
$reply .= "
|
||||||
<a href=\"#\"
|
<a href=\"#\"
|
||||||
title=\"".__("View as RSS feed")."\"
|
title=\"".__("View as RSS feed")."\"
|
||||||
|
|||||||
Reference in New Issue
Block a user