aboutsummaryrefslogtreecommitdiff
path: root/sx-search.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-search.el')
-rw-r--r--sx-search.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/sx-search.el b/sx-search.el
index 235d5f7..e6746a3 100644
--- a/sx-search.el
+++ b/sx-search.el
@@ -115,6 +115,7 @@ prefix argument, the user is asked for everything."
(sx-search-get-questions
sx-question-list--site page
query tags excluded-tags
+ (cons 'order (if sx-question-list--descending 'desc 'asc))
(cons 'sort sx-question-list--order))))
(setq sx-question-list--site site)
(setq sx-question-list--order sx-search-default-order)