When issues sort by weight, direction change but sort icon doesn't change
Summary
In a project's issues list when we want to sort by weight, the sort icon is the same for descending order and ascending order.
Steps to reproduce
- Visit a project's issues list
- Select sort by Weight
- Change sort direction then you can see the sort icon doesn't change
What is the current bug behavior?
The sort icon doesn't change
What is the expected correct behavior?
When sort direction change, the sort icon should change against to the descending order or ascending order
Relevant logs and/or screenshots
When sort by weight lowest to highest:
When sort by weight highest to lowest:
Output of checks
This bug happens on GitLab.com
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
(If you can, link to the line of code that might be responsible for the problem)