diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2016-06-15 14:04:42 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2016-06-15 14:04:42 +0300 |
commit | f28bbf9468458864ad5e883c48309a40ea99b63a (patch) | |
tree | 5dae2fbe84e163b8c461d3a6f21d8fe4fcda1707 /app/assets/javascripts | |
parent | 3a857e0e6c9460692f4b5d61e634205da9dee63a (diff) | |
parent | aa35abf9bf7ad528369bd8b54796f38cf68dfd96 (diff) |
Merge branch 'project-move-dropdown-search' into 'master'
Fixed issue with move dropdown not being searchable
## What does this MR do?
Adds the ability to search the project move dropdown.
## What are the relevant issue numbers?
Closes #18634
## Screenshots (if relevant)
![search](/uploads/f10a9a16b608308c1b3c66f186f57f80/search.gif)
See merge request !4666
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/issuable_form.js.coffee | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/issuable_form.js.coffee b/app/assets/javascripts/issuable_form.js.coffee index 898506fde32..5b7a4831dfc 100644 --- a/app/assets/javascripts/issuable_form.js.coffee +++ b/app/assets/javascripts/issuable_form.js.coffee @@ -102,6 +102,10 @@ class @IssuableForm return { results: data } + data: (query) -> + { + search: query + } formatResult: (project) -> project.name_with_namespace formatSelection: (project) -> |