Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #7605

Closed
Open
Created Aug 26, 2014 by Administrator@rootOwner

Filter issues by labels bug in 7.2

Created by: fonica

Probably caused by the labels rewrite. 7.1 was working as expected.

To reproduce just go to the issue list and use the label filter from the left sidebar. Add more than 1 label to the filter.

Expected behavior: I should get only the issues that have all the selected labels.

Observed behavior: I'm getting the issues that have any of the selected labels. Every time I add a new label to the filter the number of results will increase.

Old code was using the tagged_with method from the acts-as-taggable-on gem.

New code uses IN which is basically like multiple ORs.

Assignee
Assign to
Time tracking