summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/search.js')
-rw-r--r--app/assets/javascripts/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/search.js b/app/assets/javascripts/search.js
index e66418beeab..15f5963353a 100644
--- a/app/assets/javascripts/search.js
+++ b/app/assets/javascripts/search.js
@@ -47,7 +47,7 @@
fields: ['name']
},
data: function(term, callback) {
- return Api.projects(term, 'id', function(data) {
+ return Api.projects(term, { order_by: 'id' }, function(data) {
data.unshift({
name_with_namespace: 'Any'
});