diff options
author | Phil Hughes <me@iamphill.com> | 2018-01-12 15:59:08 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-01-16 14:49:24 +0300 |
commit | 5f5249d759d9324e23f274056d27931dbf299094 (patch) | |
tree | b95f0ace75d61b0333b0e0d9f91eee29dfcb21ff /app/views/shared/issuable/form/_branch_chooser.html.haml | |
parent | 4b81b6a181f22ceb46ab9187bbd4c8d76edd01a3 (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.haml | 2 |
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? = link_to 'Change branches', mr_change_branches_path(issuable) |