Future candidate labeling does not show in filters or create new lists in boards...

Summary

When attempting to search in a board for candidate labels beyond %15.1, a user is not able to select those values from the dropdown. Though they can type the value in and search for it, it is not intuitive to the user that the value is possible to search

Steps to reproduce

  1. Navigate to a board
  2. Type on Label=candidate::15. and the dropdown should produce similar to below: Screen_Shot_2022-08-23_at_12.52.11_PM

Additionally, when attempting to create a new list in a board:

  1. Select Create List from board.
  2. In options box, select Label and search for candidate::15. and the dropdown should produce similar to below:

Screen_Shot_2022-08-23_at_12.52.38_PM

Example Project

Sample boards are:

What is the current bug behavior?

Besides candidate::15.0 and candidate::15.1, no other candidate labels display in dropdowns to use.

What is the expected correct behavior?

Dropdown should produce all 15. candidate labels that have been created and used in GitLab so far in the gitlab-org project.

Relevant logs and/or screenshots

Noted above.

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes