Skip to content

Commit

Permalink
Fixed problem sort order bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dbyrne committed Apr 24, 2011
1 parent 7909986 commit 5c09159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/foreclojure/problems.clj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
(from-mongo
(fetch :problems
:only [:_id :title :tags :times-solved]
:sort {:id 1})))
:sort {:_id 1})))

(defn mark-completed [id code & [user]]
(let [user (or user (session/session-get :user))
Expand Down

0 comments on commit 5c09159

Please sign in to comment.