Commit 2dc78eac authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix regression in sorting comments by score.

parent 34987499
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ Ext.define('Docs.controller.Comments', {
                    this.fetchRecentComments();
                },
                sortOrderChange: function(orderBy) {
                    this.recentCommentsSettings.sortByScore = (orderBy === "recent");
                    this.recentCommentsSettings.sortByScore = (orderBy === "votes");
                    this.fetchRecentComments();
                }
            },