diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-10-22 11:00:36 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-10-22 11:00:36 +0000 |
commit | 93b246ecf49c145d48b161db4c0bccd78c13f455 (patch) | |
tree | 9920d739d243b0df2c810baef3154505f10b3f7c /app | |
parent | eac645d7cb35ff2c124eb8b2cb5d3f406a422830 (diff) | |
parent | 63b2b1b426d29992b997eff536052f6073e38415 (diff) | |
download | gitlab-ce-93b246ecf49c145d48b161db4c0bccd78c13f455.tar.gz |
Merge branch 'mr-creation-source-project-filtering' into 'master'
Fixed source projects not filtering
Closes #52728
See merge request gitlab-org/gitlab-ce!22515
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/compare_autocomplete.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/compare_autocomplete.js b/app/assets/javascripts/compare_autocomplete.js index 852d71f4e84..37a3ceb5341 100644 --- a/app/assets/javascripts/compare_autocomplete.js +++ b/app/assets/javascripts/compare_autocomplete.js @@ -40,7 +40,7 @@ export default function initCompareAutocomplete(limitTo = null, clickHandler = ( }, selectable: true, filterable: true, - filterRemote: true, + filterRemote: !!$dropdown.data('refsUrl'), fieldName: $dropdown.data('fieldName'), filterInput: 'input[type="search"]', renderRow: function(ref) { |