summaryrefslogtreecommitdiff
path: root/app/views/help
diff options
context:
space:
mode:
authorSam Rose <sam@gitlab.com>2017-03-06 00:03:21 -0500
committerSam Rose <sam@gitlab.com>2017-03-14 06:58:20 -0400
commit435458d2b14eadd1768b7b0a14f5966633f02f83 (patch)
treeebbd64338beb819fdaf8fc4b320d5c3a848982b2 /app/views/help
parentb3eda944454cb180cdefb8ddff35fdeb729e3ed5 (diff)
downloadgitlab-ce-435458d2b14eadd1768b7b0a14f5966633f02f83.tar.gz
Update API on frontend to use v428864-use-the-v4-api-from-the-frontend
Use options object to pass params for project endpoint
Diffstat (limited to 'app/views/help')
-rw-r--r--app/views/help/ui.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/help/ui.html.haml b/app/views/help/ui.html.haml
index 87f9b503989..1fb2c6271ad 100644
--- a/app/views/help/ui.html.haml
+++ b/app/views/help/ui.html.haml
@@ -410,7 +410,7 @@
:javascript
$('#js-project-dropdown').glDropdown({
data: function (term, callback) {
- Api.projects(term, "last_activity_at", function (data) {
+ Api.projects(term, { order_by: 'last_activity_at' }, function (data) {
callback(data);
});
},