Skip to content

Commit 3be8f7a

Browse files
committed
fixed a bug in the individual question feed
1 parent 6c84cc2 commit 3be8f7a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

askbot/feed.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,13 @@ def items(self, item):
5151
then for each answer - the answer itself, then
5252
answer comments
5353
"""
54-
5554
chain_elements = list()
5655
chain_elements.append([item,])
5756
chain_elements.append(
5857
Post.objects.get_comments().filter(parent=item)
5958
)
6059

61-
answers = Post.objects.get_answers().filter(question = item.id)
60+
answers = Post.objects.get_answers().filter(thread = item.thread)
6261
for answer in answers:
6362
chain_elements.append([answer,])
6463
chain_elements.append(

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
* *
124124
* Thanks for installing Askbot. *
125125
* *
126-
* To start deploying type: >askbot-setup *
126+
* To start deploying type: askbot-setup *
127127
* Please take a look at the manual askbot/doc/INSTALL *
128128
* And please do not hesitate to ask your questions at *
129129
* at http://askbot.org *

0 commit comments

Comments
 (0)