When clearing label in issue boards, it does not update the url and adds old label to new label selection

Summary

When clearing a label on an issue board, it does not update the url, so when you clear 1 label and add a new one they both get added back in.

Steps to reproduce

  1. Go to an issue board (https://gitlab.com/gitlab-org/gitlab/-/boards/1300253?&label_name[]=devops%3A%3Aplan)
  2. Clear the label
  3. Click on a new label
  4. Notice that both labels have been added.

Example Project

Relevant logs and/or screenshots

2020-11-03_17.20.48

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

Edited by Donald Cook