diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-10-19 04:55:26 +0100 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-10-19 04:55:26 +0100 |
commit | 4e028d333bbbcafcd89b04778b0b37775b6015c4 (patch) | |
tree | 2d3d337d9a9bf5f9b92c011561e41f01a55ab513 /app | |
parent | ea9aee35a334fae2cc55e67a52c01e30fe337263 (diff) | |
download | gitlab-ce-4e028d333bbbcafcd89b04778b0b37775b6015c4.tar.gz |
Return the title for id of 'No label'23375-filtering-on-any-label-or-no-label-does-not-work
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/labels_select.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/labels_select.js b/app/assets/javascripts/labels_select.js index f1e719937c7..b4f6e70f694 100644 --- a/app/assets/javascripts/labels_select.js +++ b/app/assets/javascripts/labels_select.js @@ -266,7 +266,7 @@ }, fieldName: $dropdown.data('field-name'), id: function(label) { - if (label.id <= 0) return; + if (label.id <= 0) return label.title; if ($dropdown.hasClass('js-issuable-form-dropdown')) { return label.id; |