[tor-commits] [atlas/master] Sort search results by bandwidth by default (Fixes: #23781)

irl at torproject.org irl at torproject.org
Tue Nov 21 17:47:39 UTC 2017


commit ff7426e789725c9a2c6381a7c9d363907df45b0b
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Tue Nov 21 16:42:21 2017 +0000

    Sort search results by bandwidth by default (Fixes: #23781)
---
 js/views/search/do.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/views/search/do.js b/js/views/search/do.js
index d6c3599..3aa50fe 100644
--- a/js/views/search/do.js
+++ b/js/views/search/do.js
@@ -42,8 +42,8 @@ define([
                     ],
                 // Save the state of the tables
                 "sDom": "<'row'<'span6'l><'span6 hide'f>r>t<'row'<'span6'i><'span6'p>>",
-				"bStateSave": false,
-				"aaSorting": [],
+		"bStateSave": false,
+		"aaSorting": [[2, "desc"]],
                 "fnDrawCallback": function( oSettings ) {
                     // Make the tooltips
                     $(".tip").tooltip();





More information about the tor-commits mailing list