"any weight" is inconsistent in issue boards

Summary

Selecting "any weight" has different meaning in issue boards.

This issue describes the behavior after https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15043 got merged and cannot be reproduced on gitlab.com yet.

This issue is similar to https://gitlab.com/gitlab-org/gitlab-ee/issues/13340.

Steps to reproduce

  • create issue board that contains issues with weight set and without
  • use filter bar and board scope and select "any weight"

What is the current bug behavior?

Selecting Weight:Any in the filter bar excludes issues with no weight. Selecting Any Weight in the board scope includes issues with no weight.

Screen_Shot_2019-08-09_at_09.53.21 Screen_Shot_2019-08-09_at_09.53.41
Screen_Shot_2019-08-09_at_09.52.10 Screen_Shot_2019-08-09_at_10.26.24

Side note: The issues API also excludes issues with no weight for weight=any (see also https://gitlab.com/gitlab-org/gitlab-ee/issues/13337).

What is the expected correct behavior?

"any weight" behaves the same for both cases.

Possible fixes

  • Introduce a new No filter option in the issue board scope dropdown that includes issues with no weight and make it the default option.
  • Change Any Weight in issue board scope dropdown to exclude issues with no milestone.
Edited Oct 10, 2019 by Donald Cook
Assignee Loading
Time tracking Loading