aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sx-question.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/sx-question.el b/sx-question.el
index 19251ab..607b3f6 100644
--- a/sx-question.el
+++ b/sx-question.el
@@ -47,11 +47,13 @@
(defun sx-question-get-questions (site &optional page)
"Get the page PAGE of questions from SITE."
- (sx-method-call
- "questions"
- `((site . ,site)
- (page . ,page))
- sx-question-browse-filter))
+ (mapcar
+ (lambda (question) (cons (cons 'site site) question))
+ (sx-method-call
+ "questions"
+ `((site . ,site)
+ (page . ,page))
+ sx-question-browse-filter)))
(defun sx-question-get-question (site id)
"Get the question ID from SITE."