From a949e58d633587380391eb698f1a253e34e736df Mon Sep 17 00:00:00 2001 From: jordan Date: Sun, 27 Mar 2011 20:34:16 +0000 Subject: [PATCH] OSQA-621, adding a separate rss link for the question_search view. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@903 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/views/readers.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/forum/views/readers.py b/forum/views/readers.py index 8d2cd85..cad081a 100644 --- a/forum/views/readers.py +++ b/forum/views/readers.py @@ -213,11 +213,14 @@ def question_search(request, keywords): else: paginator_context = None + feed_url = mark_safe(escape(request.path + "?type=rss&q=" + keywords)) + return question_list(request, initial, _("questions matching '%(keywords)s'") % {'keywords': keywords}, None, _("questions matching '%(keywords)s'") % {'keywords': keywords}, - paginator_context=paginator_context) + paginator_context=paginator_context, + feed_url=feed_url) @decorators.render('tags.html', 'tags', _('tags'), weight=100) -- 2.39.5