Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-01-12 15:59:08 +0300
committerPhil Hughes <me@iamphill.com>2018-01-16 14:49:24 +0300
commit5f5249d759d9324e23f274056d27931dbf299094 (patch)
treeb95f0ace75d61b0333b0e0d9f91eee29dfcb21ff /app/views/shared/issuable/form/_branch_chooser.html.haml
parent4b81b6a181f22ceb46ab9187bbd4c8d76edd01a3 (diff)
only search branches
target branch select dropdown doesnt care about tags so we dont need to waste time searching them
Diffstat (limited to 'app/views/shared/issuable/form/_branch_chooser.html.haml')
-rw-r--r--app/views/shared/issuable/form/_branch_chooser.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/form/_branch_chooser.html.haml b/app/views/shared/issuable/form/_branch_chooser.html.haml
index ee9087558d7..9a589387255 100644
--- a/app/views/shared/issuable/form/_branch_chooser.html.haml
+++ b/app/views/shared/issuable/form/_branch_chooser.html.haml
@@ -18,7 +18,7 @@
= form.hidden_field(:target_branch,
{ class: 'target_branch js-target-branch-select ref-name',
disabled: issuable.new_record?,
- data: { placeholder: "Select branch", endpoint: refs_project_path(@project, sort: 'updated_desc') }})
+ data: { placeholder: "Select branch", endpoint: refs_project_path(@project, sort: 'updated_desc', find: 'branches') }})
- if issuable.new_record?
&nbsp;
= link_to 'Change branches', mr_change_branches_path(issuable)