diff options
author | Rémy Coutable <remy@rymai.me> | 2016-10-31 20:37:13 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-10-31 20:47:30 +0300 |
commit | e5c6f943fe6e33510813f05a6f7e6d56af47461a (patch) | |
tree | d93062daf78ef0179cf96c071cdb999e0ccca74e /app/assets/javascripts/search.js | |
parent | a60cc42b262cb63ce5d2284f1f3f41d6521daa14 (diff) |
Backport Group API code that was added in EE only
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/assets/javascripts/search.js')
-rw-r--r-- | app/assets/javascripts/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/search.js b/app/assets/javascripts/search.js index 6c2389f202f..d79e6f014f6 100644 --- a/app/assets/javascripts/search.js +++ b/app/assets/javascripts/search.js @@ -11,7 +11,7 @@ filterable: true, fieldName: 'group_id', data: function(term, callback) { - return Api.groups(term, false, false, function(data) { + return Api.groups(term, {}, function(data) { data.unshift({ name: 'Any' }); |